async_mqtt 5.0.0
Loading...
Searching...
No Matches
async_mqtt::property::detail::binary_property Struct Reference

binary_property More...

#include <property.hpp>

Inheritance diagram for async_mqtt::property::detail::binary_property:
Collaboration diagram for async_mqtt::property::detail::binary_property:

Public Member Functions

std::vector< as::const_buffer > const_buffer_sequence () const
 Add const buffer sequence into the given buffer.
 
property::id id () const
 Get property::id.
 
std::size_t size () const
 Get property size.
 
constexpr buffer constval () const
 Get value.
 

Static Public Member Functions

static constexpr std::size_t num_of_const_buffer_sequence ()
 Get number of element of const_buffer_sequence.
 

Detailed Description

Member Function Documentation

◆ const_buffer_sequence()

std::vector< as::const_buffer > async_mqtt::property::detail::binary_property::const_buffer_sequence ( ) const
inline

Add const buffer sequence into the given buffer.

Returns
A vector of const_buffer

◆ id()

property::id async_mqtt::property::detail::binary_property::id ( ) const
inline

Get property::id.

Returns
id

◆ num_of_const_buffer_sequence()

static constexpr std::size_t async_mqtt::property::detail::binary_property::num_of_const_buffer_sequence ( )
inlinestaticconstexpr

Get number of element of const_buffer_sequence.

Returns
number of element of const_buffer_sequence

◆ size()

std::size_t async_mqtt::property::detail::binary_property::size ( ) const
inline

Get property size.

Returns
property size

◆ val()

constexpr buffer const & async_mqtt::property::detail::binary_property::val ( ) const
inlineconstexpr

Get value.

Returns
value

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