works as optional<uint8_t>
More...
Definition at line 16 of file network_byte_pair.hpp.
#include <network_byte_pair.hpp>
◆ operator bool()
altintegration::VbkNetworkType::operator bool |
( |
| ) |
const |
|
inline |
◆ operator==()
bool altintegration::VbkNetworkType::operator== |
( |
const VbkNetworkType & |
other | ) |
const |
|
inline |
Definition at line 24 of file network_byte_pair.hpp.
24 {
26 return true;
27 }
28
30 }
uint8_t value
otherwise, use value for network ID
◆ putJson()
template<typename JsonValue >
void altintegration::VbkNetworkType::putJson |
( |
JsonValue & |
obj | ) |
const |
|
inline |
Definition at line 41 of file network_byte_pair.hpp.
41 {
43 json::putIntKV(obj,
"networkByte",
value);
44 } else {
45 json::putNullKV(obj, "networkByte");
46 }
47 }
◆ toPrettyString()
std::string altintegration::VbkNetworkType::toPrettyString |
( |
| ) |
const |
|
inline |
◆ hasValue
bool altintegration::VbkNetworkType::hasValue = false |
◆ value
uint8_t altintegration::VbkNetworkType::value = 0 |
The documentation for this struct was generated from the following file: