7#if !defined(ASYNC_MQTT_PACKET_TOPIC_SUBOPTS_HPP)
8#define ASYNC_MQTT_PACKET_TOPIC_SUBOPTS_HPP
10#include <async_mqtt/packet/topic_sharename.hpp>
29 ): topic_sharename_{force_move(
all_topic)},
39 return topic_sharename_.
topic();
74 return static_cast<bool>(topic_sharename_);
83 std::tie(
lhs.topic_sharename_,
lhs.opts_) <
84 std::tie(
rhs.topic_sharename_,
rhs.opts_);
93 std::tie(
lhs.topic_sharename_,
lhs.opts_) ==
94 std::tie(
rhs.topic_sharename_,
rhs.opts_);
Definition packet_variant.hpp:49
buffer that has string_view interface This class provides string_view interface. This class hold stri...
Definition buffer.hpp:30
topic and sharename
Definition topic_sharename.hpp:19
buffer const & sharename() const
Get sharename.
Definition topic_sharename.hpp:58
buffer const & all_topic() const
Get all_topic.
Definition topic_sharename.hpp:68
buffer const & topic() const
Get topic.
Definition topic_sharename.hpp:50
subsscription entry
Definition topic_subopts.hpp:18
friend bool operator<(topic_subopts const &lhs, topic_subopts const &rhs)
less than operator
Definition topic_subopts.hpp:81
buffer const & all_topic() const
Get all_topic.
Definition topic_subopts.hpp:56
topic_subopts(buffer all_topic, sub::opts opts)
constructor
Definition topic_subopts.hpp:26
friend bool operator==(topic_subopts const &lhs, topic_subopts const &rhs)
equal operator
Definition topic_subopts.hpp:91
buffer const & sharename() const
Get sharename.
Definition topic_subopts.hpp:46
sub::opts const & opts() const
Get subscribe options.
Definition topic_subopts.hpp:64
buffer const & topic() const
Get topic.
Definition topic_subopts.hpp:38
MQTT SubscribeOptions.
Definition subopts.hpp:60