mqtt_cpp
Namespaces | Classes | Enumerations | Functions
MQTT_NS::v5::property Namespace Reference

Namespaces

 detail
 

Classes

class  payload_format_indicator
 
class  message_expiry_interval
 
class  content_type
 
class  response_topic
 
class  correlation_data
 
class  subscription_identifier
 
class  session_expiry_interval
 
class  assigned_client_identifier
 
class  server_keep_alive
 
class  authentication_method
 
class  authentication_data
 
class  request_problem_information
 
class  will_delay_interval
 
class  request_response_information
 
class  response_information
 
class  server_reference
 
class  reason_string
 
class  receive_maximum
 
class  topic_alias_maximum
 
class  topic_alias
 
class  maximum_qos
 
class  retain_available
 
class  user_property
 
class  maximum_packet_size
 
class  wildcard_subscription_available
 
class  subscription_identifier_available
 
class  shared_subscription_available
 

Enumerations

enum class  id {
  payload_format_indicator = 1 , message_expiry_interval = 2 , content_type = 3 , response_topic = 8 ,
  correlation_data = 9 , subscription_identifier = 11 , session_expiry_interval = 17 , assigned_client_identifier = 18 ,
  server_keep_alive = 19 , authentication_method = 21 , authentication_data = 22 , request_problem_information = 23 ,
  will_delay_interval = 24 , request_response_information = 25 , response_information = 26 , server_reference = 28 ,
  reason_string = 31 , receive_maximum = 33 , topic_alias_maximum = 34 , topic_alias = 35 ,
  maximum_qos = 36 , retain_available = 37 , user_property = 38 , maximum_packet_size = 39 ,
  wildcard_subscription_available = 40 , subscription_identifier_available = 41 , shared_subscription_available = 42
}
 

Functions

template<typename Property >
std::enable_if_t< Property::of_==detail::ostream_format::direct, std::ostream & > operator<< (std::ostream &o, Property const &p)
 
template<typename Property >
std::enable_if_t< Property::of_==detail::ostream_format::int_cast, std::ostream & > operator<< (std::ostream &o, Property const &p)
 
template<typename Property >
std::enable_if_t< Property::of_==detail::ostream_format::key_val, std::ostream & > operator<< (std::ostream &o, Property const &p)
 
template<typename Property >
std::enable_if_t< Property::of_==detail::ostream_format::binary_string, std::ostream & > operator<< (std::ostream &o, Property const &p)
 
optional< property_variantparse_one (buffer &buf)
 
std::vector< property_variantparse (buffer buf)
 

Enumeration Type Documentation

◆ id

Enumerator
payload_format_indicator 
message_expiry_interval 
content_type 
response_topic 
correlation_data 
subscription_identifier 
session_expiry_interval 
assigned_client_identifier 
server_keep_alive 
authentication_method 
authentication_data 
request_problem_information 
will_delay_interval 
request_response_information 
response_information 
server_reference 
reason_string 
receive_maximum 
topic_alias_maximum 
topic_alias 
maximum_qos 
retain_available 
user_property 
maximum_packet_size 
wildcard_subscription_available 
subscription_identifier_available 
shared_subscription_available 

Function Documentation

◆ operator<<() [1/4]

template<typename Property >
std::enable_if_t< Property::of_ == detail::ostream_format::direct, std::ostream& > MQTT_NS::v5::property::operator<< ( std::ostream &  o,
Property const &  p 
)

◆ operator<<() [2/4]

template<typename Property >
std::enable_if_t< Property::of_ == detail::ostream_format::int_cast, std::ostream& > MQTT_NS::v5::property::operator<< ( std::ostream &  o,
Property const &  p 
)

◆ operator<<() [3/4]

template<typename Property >
std::enable_if_t< Property::of_ == detail::ostream_format::binary_string, std::ostream& > MQTT_NS::v5::property::operator<< ( std::ostream &  o,
Property const &  p 
)

◆ operator<<() [4/4]

template<typename Property >
std::enable_if_t< Property::of_ == detail::ostream_format::key_val, std::ostream& > MQTT_NS::v5::property::operator<< ( std::ostream &  o,
Property const &  p 
)

◆ parse()

std::vector<property_variant> MQTT_NS::v5::property::parse ( buffer  buf)
inline

◆ parse_one()

optional<property_variant> MQTT_NS::v5::property::parse_one ( buffer buf)
inline