The BasicServiceInformation class is used to hold a service name and type. The BasicServiceInformation can be used as a key in a map.
More...
#include "BasicServiceInformation.h"
The BasicServiceInformation class is used to hold a service name and type. The BasicServiceInformation can be used as a key in a map.
◆ BasicServiceInformation() [1/4]
ot::BasicServiceInformation::BasicServiceInformation |
( |
| ) |
|
◆ BasicServiceInformation() [2/4]
ot::BasicServiceInformation::BasicServiceInformation |
( |
const std::string & | _serviceNameAndType | ) |
|
◆ BasicServiceInformation() [3/4]
ot::BasicServiceInformation::BasicServiceInformation |
( |
const std::string & | _serviceName, |
|
|
const std::string & | _serviceType ) |
◆ BasicServiceInformation() [4/4]
◆ ~BasicServiceInformation()
ot::BasicServiceInformation::~BasicServiceInformation |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference |
_allocator | Allocator |
◆ operator!=()
◆ operator<()
◆ operator=()
◆ operator==()
◆ serviceName()
const std::string & ot::BasicServiceInformation::serviceName |
( |
void | | ) |
const |
|
inline |
◆ serviceType()
const std::string & ot::BasicServiceInformation::serviceType |
( |
void | | ) |
const |
|
inline |
◆ setFromJsonObject()
void ot::BasicServiceInformation::setFromJsonObject |
( |
const ConstJsonObject & | _object | ) |
|
|
overridevirtual |
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.
◆ setServiceName()
void ot::BasicServiceInformation::setServiceName |
( |
const std::string & | _serviceName | ) |
|
|
inline |
◆ setServiceType()
void ot::BasicServiceInformation::setServiceType |
( |
const std::string & | _serviceType | ) |
|
|
inline |
The documentation for this class was generated from the following files: