mqtt_cpp
|
#include <property.hpp>
Public Member Functions | |
n_bytes_property (property::id id) | |
template<typename It > | |
n_bytes_property (property::id id, It b, It e) | |
n_bytes_property (property::id id, boost::container::static_vector< char, N > buf) | |
void | add_const_buffer_sequence (std::vector< as::const_buffer > &v) const |
Add const buffer sequence into the given buffer. More... | |
template<typename It > | |
void | fill (It b, It e) const |
Copy the internal information to the range between b and e it is for boost asio APIs. More... | |
property::id | id () const |
Get property::id. More... | |
std::size_t | size () const |
Get whole size of sequence. More... | |
Static Public Member Functions | |
static constexpr std::size_t | num_of_const_buffer_sequence () |
Get number of element of const_buffer_sequence. More... | |
Public Attributes | |
property::id | id_ |
boost::container::static_vector< char, N > | buf_ |
Static Public Attributes | |
static constexpr ostream_format const | of_ = ostream_format::direct |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Add const buffer sequence into the given buffer.
v | buffer to add |
|
inline |
Copy the internal information to the range between b and e it is for boost asio APIs.
b | begin of the range to fill |
e | end of the range to fill |
|
inline |
Get property::id.
|
inlinestaticconstexpr |
Get number of element of const_buffer_sequence.
|
inline |
Get whole size of sequence.
boost::container::static_vector<char, N> MQTT_NS::v5::property::detail::n_bytes_property< N >::buf_ |
property::id MQTT_NS::v5::property::detail::n_bytes_property< N >::id_ |
|
staticconstexpr |