Class of method names.
More...
#include <msgpack_rpc/messages/method_name_view.h>
|
std::string_view | name_ |
| Method name.
|
Class of method names.
Definition at line 39 of file method_name_view.h.
◆ MethodNameView() [1/5]
msgpack_rpc::messages::MethodNameView::MethodNameView |
( |
const MethodName & | name | ) |
|
|
inlinenoexcept |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 49 of file method_name_view.h.
◆ MethodNameView() [2/5]
msgpack_rpc::messages::MethodNameView::MethodNameView |
( |
const std::string & | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 63 of file method_name_view.h.
◆ MethodNameView() [3/5]
msgpack_rpc::messages::MethodNameView::MethodNameView |
( |
std::string_view | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 77 of file method_name_view.h.
◆ MethodNameView() [4/5]
msgpack_rpc::messages::MethodNameView::MethodNameView |
( |
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 92 of file method_name_view.h.
◆ MethodNameView() [5/5]
msgpack_rpc::messages::MethodNameView::MethodNameView |
( |
const char * | name | ) |
|
|
inline |
Constructor.
- Parameters
-
- Note
- This class saves pointer to the give buffer, and doesn't manage memory.
Definition at line 104 of file method_name_view.h.
◆ name()
std::string_view msgpack_rpc::messages::MethodNameView::name |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ operator MethodName()
msgpack_rpc::messages::MethodNameView::operator MethodName |
( |
| ) |
const |
|
inlineexplicit |
◆ name_
std::string_view msgpack_rpc::messages::MethodNameView::name_ |
|
private |
The documentation for this class was generated from the following file: