#include "UIDNamePair.h"
◆ UIDNamePair() [1/4]
| ot::UIDNamePair::UIDNamePair |
( |
| ) |
|
◆ UIDNamePair() [2/4]
| ot::UIDNamePair::UIDNamePair |
( |
UID | _uid, |
|
|
const std::string & | _name ) |
◆ UIDNamePair() [3/4]
◆ UIDNamePair() [4/4]
| ot::UIDNamePair::UIDNamePair |
( |
const UIDNamePair & | _other | ) |
|
◆ ~UIDNamePair()
| ot::UIDNamePair::~UIDNamePair |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
| _document | The JSON document (used to get the allocator). |
| _object | The JSON object to add the contents to. |
◆ getName()
| const std::string & ot::UIDNamePair::getName |
( |
void | | ) |
const |
|
inline |
◆ getUid()
| ot::UID ot::UIDNamePair::getUid |
( |
void | | ) |
const |
|
inline |
◆ operator!=()
| bool ot::UIDNamePair::operator!= |
( |
const UIDNamePair & | _other | ) |
const |
◆ operator=()
◆ operator==()
| bool ot::UIDNamePair::operator== |
( |
const UIDNamePair & | _other | ) |
const |
◆ setFromJsonObject()
Will set the object contents from the provided JSON object.
- Parameters
-
| _object | The JSON object containing the information. |
- Exceptions
-
| Will | throw an exception if the provided object is not valid (members missing or invalid types). |
Implements ot::Serializable.
◆ setName()
| void ot::UIDNamePair::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setUid()
| void ot::UIDNamePair::setUid |
( |
ot::UID | _uid | ) |
|
|
inline |
The documentation for this class was generated from the following files: