the DataProviderTypeEntry class
More...
◆ addChild()
DataProvider::DataProviderTypeEntry::addChild |
( |
string |
child | ) |
|
Adds a child node to the entry.
- Parameters
-
child | the name of the child node to add |
- Exceptions
-
CHILD-ERROR | a child with the same name already exists |
◆ getChild()
Returns the given child, if any.
- Returns
- the given child, if any
◆ getChildEx()
Returns the given child, if any, otherwise throws an exception.
- Returns
- the given child, if any, otherwise throws an exception
- Exceptions
-
INVALID-CHILD | the given child is unknown |
◆ getChildNames()
*list<string> DataProvider::DataProviderTypeEntry::getChildNames |
( |
| ) |
|
Returns a list of child entry names, if any.
- Returns
- a list of child entry names, if any
◆ getCreateChild()
Returns the given child and creates it if necessary.
- Returns
- the given child and creates it if necessary
◆ getInfo()
Returns information about this entry.
- Returns
- information about this entry
◆ getType()
Returns the type at the entry level, if any.
- Returns
- the type at the entry level, if any
◆ getTypeEx()
Returns the type at the entry level, if any, otherwise throws an exception.
- Returns
- the type at the entry level, if any, otherwise throws an exception
- Exceptions
-
NO-TYPE | this entry has no type, only children |
◆ listTypes()
*list<string> DataProvider::DataProviderTypeEntry::listTypes |
( |
| ) |
|
Returns a list of registered data provider type paths.
- Note
- types are stored based on the path provided which may differ from their type names (which may be generic and therefore not suitable for indexing)
◆ setType()
Sets the type for the entry.
- Parameters
-
type | the type to set for this entry |
- Exceptions
-
TYPE-ERROR | a type has already been set for this entry |