mqtt_cpp
Public Types | Public Member Functions | Static Public Attributes | List of all members
MQTT_NS::v5::property::payload_format_indicator Class Reference

#include <property.hpp>

Inheritance diagram for MQTT_NS::v5::property::payload_format_indicator:
Inheritance graph
[legend]
Collaboration diagram for MQTT_NS::v5::property::payload_format_indicator:
Collaboration graph
[legend]

Public Types

enum  payload_format { binary , string }
 
using recv = payload_format_indicator
 
using store = payload_format_indicator
 

Public Member Functions

 payload_format_indicator (payload_format fmt=binary)
 
template<typename It >
 payload_format_indicator (It b, It e)
 
payload_format val () const
 
- Public Member Functions inherited from MQTT_NS::v5::property::detail::n_bytes_property< 1 >
 n_bytes_property (property::id id)
 
 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...
 
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 Attributes

static constexpr detail::ostream_format const of_ = detail::ostream_format::binary_string
 
- Static Public Attributes inherited from MQTT_NS::v5::property::detail::n_bytes_property< 1 >
static constexpr ostream_format const of_
 

Additional Inherited Members

- Static Public Member Functions inherited from MQTT_NS::v5::property::detail::n_bytes_property< 1 >
static constexpr std::size_t num_of_const_buffer_sequence ()
 Get number of element of const_buffer_sequence. More...
 
- Public Attributes inherited from MQTT_NS::v5::property::detail::n_bytes_property< 1 >
property::id id_
 
boost::container::static_vector< char, N > buf_
 

Member Typedef Documentation

◆ recv

◆ store

Member Enumeration Documentation

◆ payload_format

Enumerator
binary 
string 

Constructor & Destructor Documentation

◆ payload_format_indicator() [1/2]

MQTT_NS::v5::property::payload_format_indicator::payload_format_indicator ( payload_format  fmt = binary)
inline

◆ payload_format_indicator() [2/2]

template<typename It >
MQTT_NS::v5::property::payload_format_indicator::payload_format_indicator ( It  b,
It  e 
)
inline

Member Function Documentation

◆ val()

payload_format MQTT_NS::v5::property::payload_format_indicator::val ( ) const
inline

Member Data Documentation

◆ of_

constexpr detail::ostream_format const MQTT_NS::v5::property::payload_format_indicator::of_ = detail::ostream_format::binary_string
staticconstexpr

The documentation for this class was generated from the following file: