async_mqtt 5.0.0
Loading...
Searching...
No Matches
async_mqtt::sub::opts Struct Referencefinal

MQTT SubscribeOptions. More...

#include <subopts.hpp>

Public Member Functions

constexpr opts (std::uint8_t value)
 constructor
 
constexpr opts (retain_handling value)
 constructor
 
constexpr opts (rap value)
 constructor
 
constexpr opts (nl value)
 constructor
 
constexpr opts (qos value)
 constructor
 
constexpr opts operator| (opts rhs) const
 Combine opts operator.
 
constexpr opts operator| (retain_handling rhs) const
 Combine opts operator.
 
constexpr opts operator| (rap rhs) const
 Combine opts operator.
 
constexpr opts operator| (nl rhs) const
 Combine opts operator.
 
constexpr opts operator| (qos rhs) const
 Combine opts operator.
 
constexpr optsoperator|= (opts rhs)
 Combine opts operator.
 
constexpr optsoperator|= (retain_handling rhs)
 Combine opts operator.
 
constexpr optsoperator|= (rap rhs)
 Combine opts operator.
 
constexpr optsoperator|= (nl rhs)
 Combine opts operator.
 
constexpr optsoperator|= (qos rhs)
 Combine opts operator.
 
constexpr retain_handling get_retain_handling () const
 Get retain_handling.
 
constexpr rap get_rap () const
 Get rap.
 
constexpr nl get_nl () const
 Get nl.
 
constexpr qos get_qos () const
 Get qos.
 
constexpr operator std::uint8_t () const
 Get byte image.
 
constexpr bool operator== (opts rhs) const
 equal operator
 
constexpr bool operator< (opts rhs) const
 less than operator
 

Related Symbols

(Note that these are not member symbols.)

constexpr opts operator| (retain_handling lhs, rap rhs)
 Combine opts operator.
 
constexpr opts operator| (retain_handling lhs, nl rhs)
 Combine opts operator.
 
constexpr opts operator| (retain_handling lhs, qos rhs)
 Combine opts operator.
 
constexpr opts operator| (rap lhs, retain_handling rhs)
 Combine opts operator.
 
constexpr opts operator| (rap lhs, nl rhs)
 Combine opts operator.
 
constexpr opts operator| (rap lhs, qos rhs)
 Combine opts operator.
 
constexpr opts operator| (nl lhs, retain_handling rhs)
 Combine opts operator.
 
constexpr opts operator| (nl lhs, rap rhs)
 Combine opts operator.
 
constexpr opts operator| (nl lhs, qos rhs)
 Combine opts operator.
 
constexpr opts operator| (qos lhs, retain_handling rhs)
 Combine opts operator.
 
constexpr opts operator| (qos lhs, rap rhs)
 Combine opts operator.
 
constexpr opts operator| (qos lhs, nl rhs)
 Combine opts operator.
 
constexpr char constretain_handling_to_str (retain_handling v)
 stringize retain_handling
 
std::ostream & operator<< (std::ostream &os, retain_handling val)
 output to the stream retain_handling
 
constexpr char constrap_to_str (rap v)
 stringize rap
 
std::ostream & operator<< (std::ostream &os, rap val)
 output to the stream rap
 
constexpr char constnl_to_str (nl v)
 stringize nl
 
std::ostream & operator<< (std::ostream &os, nl val)
 output to the stream nl
 

Detailed Description

Constructor & Destructor Documentation

◆ opts() [1/5]

constexpr async_mqtt::sub::opts::opts ( std::uint8_t value)
inlineexplicitconstexpr

constructor

Parameters
valueByte image of the options

◆ opts() [2/5]

constexpr async_mqtt::sub::opts::opts ( retain_handling value)
inlineconstexpr

constructor

Parameters
valueretain_handling

◆ opts() [3/5]

constexpr async_mqtt::sub::opts::opts ( rap value)
inlineconstexpr

constructor

Parameters
valuerap

◆ opts() [4/5]

constexpr async_mqtt::sub::opts::opts ( nl value)
inlineconstexpr

constructor

Parameters
valuenl

◆ opts() [5/5]

constexpr async_mqtt::sub::opts::opts ( qos value)
inlineconstexpr

constructor

Parameters
valueqos

Member Function Documentation

◆ get_nl()

constexpr nl async_mqtt::sub::opts::get_nl ( ) const
inlineconstexpr

Get nl.

Returns
no

◆ get_qos()

constexpr qos async_mqtt::sub::opts::get_qos ( ) const
inlineconstexpr

Get qos.

Returns
qos

◆ get_rap()

constexpr rap async_mqtt::sub::opts::get_rap ( ) const
inlineconstexpr

Get rap.

Returns
rap

◆ get_retain_handling()

constexpr retain_handling async_mqtt::sub::opts::get_retain_handling ( ) const
inlineconstexpr

Get retain_handling.

Returns
retain_handling

◆ operator std::uint8_t()

constexpr async_mqtt::sub::opts::operator std::uint8_t ( ) const
inlineexplicitconstexpr

Get byte image.

Returns
byte image

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