2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef IOT_MQTT_TYPES_STRINGPAIR_H
21#define IOT_MQTT_TYPES_STRINGPAIR_H
23#include "iot/mqtt/types/String.h"
24#include "iot/mqtt/types/TypeBase.h"
30#ifndef DOXYGEN_SHOULD_SKIP_THIS
38namespace iot::mqtt::
types {
43 StringPair(
const std::string& name,
const std::string& value);
std::vector< char > serialize() const override
StringPair & operator=(StringPair &&) noexcept=default
StringPair & operator=(const StringPair &)=default
StringPair(const std::string &name, const std::string &value)
void reset(std::size_t size=0) override
operator std::string() const
std::size_t deserialize(iot::mqtt::MqttContext *mqttContext) override
iot::mqtt::types::String name
StringPair & operator=(const std::string &newValue)
bool operator!=(const StringPair &rhsValue) const
StringPair(const StringPair &)=default
bool operator==(const StringPair &rhsValue) const
iot::mqtt::types::String value