2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "iot/mqtt/types/StringRaw.h"
44#include "iot/mqtt/types/TypeBase.hpp"
46#ifndef DOXYGEN_SHOULD_SKIP_THIS
52namespace iot::mqtt::
types {
62 value = std::vector<
char>(newValue.begin(), newValue.end());
67 return std::string(value.begin(), value.end());
71 return static_cast<std::string>(*
this) == rhsValue;
75 return static_cast<std::string>(*
this) != rhsValue;
void reset(std::size_t size=0) override
bool operator!=(const std::string &rhsValue) const
operator std::string() const
StringRaw & operator=(const std::string &newValue)
bool operator==(const std::string &rhsValue) const
TypeBase(std::size_t size=sizeof(ValueType))
virtual void reset(std::size_t size=sizeof(ValueType))