Class of method names.
More...
#include <msgpack_rpc/messages/method_name.h>
|
std::string | name_ |
| Method name.
|
Class of method names.
Definition at line 35 of file method_name.h.
◆ MethodName() [1/4]
msgpack_rpc::messages::MethodName::MethodName |
( |
std::string | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 45 of file method_name.h.
◆ MethodName() [2/4]
msgpack_rpc::messages::MethodName::MethodName |
( |
std::string_view | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 59 of file method_name.h.
◆ MethodName() [3/4]
msgpack_rpc::messages::MethodName::MethodName |
( |
const char * | name, |
|
|
std::size_t | size ) |
|
inline |
Constructor.
- Parameters
-
[in] | name | Method name. |
[in] | size | Number of bytes in the name. |
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 74 of file method_name.h.
◆ MethodName() [4/4]
msgpack_rpc::messages::MethodName::MethodName |
( |
const char * | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 88 of file method_name.h.
◆ name()
std::string_view msgpack_rpc::messages::MethodName::name |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Get the method name.
- Returns
- Method name.
Definition at line 99 of file method_name.h.
◆ name_
std::string msgpack_rpc::messages::MethodName::name_ |
|
private |
The documentation for this class was generated from the following file: