Custom type definition for service API in service description. Allows defining structs and enums. More...
#include <custom_type.hpp>
Public Types | |
| using | Const_iterator = map< string, pair< string, string > >::const_iterator |
| enum | Type { Type::STRUCT, Type::ENUM } |
| Defines the type of the custom type. More... | |
Public Member Functions | |
| Const_iterator | beginDetails () const |
| Begin iterator of details. More... | |
| CustomType (const tinyxml2::XMLElement *typeElement) | |
| Constructor. More... | |
| Const_iterator | endDetails () const |
| End iterator of details. More... | |
| const string & | getName () const |
| Get the name of the custom type. More... | |
| Type | getType () const |
| Get the type of the custom type. More... | |
| ~CustomType ()=default | |
| dtor More... | |
Custom type definition for service API in service description. Allows defining structs and enums.
| using kanzi::connect::CustomType::Const_iterator = map<string, pair<string, string> >::const_iterator |
|
strong |
|
explicit |
Constructor.
|
default |
dtor
| Const_iterator kanzi::connect::CustomType::beginDetails | ( | ) | const |
Begin iterator of details.
| Const_iterator kanzi::connect::CustomType::endDetails | ( | ) | const |
End iterator of details.
| const string& kanzi::connect::CustomType::getName | ( | ) | const |
Get the name of the custom type.
| Type kanzi::connect::CustomType::getType | ( | ) | const |
Get the type of the custom type.