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

variable property More...

#include <property.hpp>

Inheritance diagram for async_mqtt::property::detail::variable_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.
 
std::size_t val () 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

variable property

The length is 1 to 4.

Member Function Documentation

◆ const_buffer_sequence()

std::vector< as::const_buffer > async_mqtt::property::detail::variable_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::variable_property::id ( ) const
inline

Get property::id.

Returns
id

◆ num_of_const_buffer_sequence()

static constexpr std::size_t async_mqtt::property::detail::variable_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::variable_property::size ( ) const
inline

Get property size.

Returns
property size

◆ val()

std::size_t async_mqtt::property::detail::variable_property::val ( ) const
inline

Get value.

Returns
value

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