152 hash<DataProviderTypeEntryInfo>
getInfo(*
bool rec_children_only);
bool lock()
Locks the entry, so it can't be removed or changed.
bool setType(AbstractDataProviderType type, bool locked=False)
Sets the type for the entry.
string name
The name of this entry.
Definition: DataProviderTypeEntry.qc.dox.h:63
the DataProviderTypeEntry class
Definition: DataProviderTypeEntry.qc.dox.h:55
*AbstractDataProviderType setOrReplaceType(AbstractDataProviderType type)
Sets or replaces the type for the entry.
constructor()
Creates the entry as a root node.
*AbstractDataProviderType getType()
Returns the type at the entry level, if any.
*hash< string, DataProviderTypeEntry > children
Children of this entry.
Definition: DataProviderTypeEntry.qc.dox.h:66
*DataProviderTypeEntry getChild(string child)
Returns the given child, if any.
*AbstractDataProviderType getTypeEx()
Returns the type at the entry level, if any, otherwise throws an exception.
setTypeChildren()
Sets up attributes as children.
string name
The name of the entry.
Definition: DataProviderTypeEntry.qc.dox.h:35
string path
The path to the entry including the name as the last element.
Definition: DataProviderTypeEntry.qc.dox.h:38
bool clear()
Clears the type hierarchy of all non-locked types.
bool locked
True if the entry is locked and therefore cannot be deleted or updated
Definition: DataProviderTypeEntry.qc.dox.h:80
lockAll()
Locks all types.
string getName()
Returns the name of the entry.
bool hasType()
Returns True if the entry has a type.
*hash< string, DataProviderTypeEntry > type_children
Names of attributes that can be referenced as children.
Definition: DataProviderTypeEntry.qc.dox.h:69
*hash< string, DataProviderTypeEntry > rec_children
Names of attributes that can be referenced as children that have their own fields.
Definition: DataProviderTypeEntry.qc.dox.h:72
bool locked
True if the entry is locked and therefore cannot be deleted or updated
Definition: DataProviderTypeEntry.qc.dox.h:48
removeChild(string child)
Removes the given child, if it exists.
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:88
string getPath()
Returns the path of the entry.
*DataProviderTypeEntry getChildEx(string child)
Returns the given child, if any, otherwise throws an exception.
string path
The path to this entry.
Definition: DataProviderTypeEntry.qc.dox.h:60
*list< string > getChildNames()
Returns a list of child entry names, if any.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
DataProviderTypeEntry getCreateChild(string child)
Returns the given child and creates it if necessary.
Data provider type entry info.
Definition: DataProviderTypeEntry.qc.dox.h:33
*AbstractDataProviderType type
The type at this location.
Definition: DataProviderTypeEntry.qc.dox.h:75
hash< DataProviderTypeEntryInfo > getInfo(*bool rec_children_only)
Returns information about this entry.
*list< string > listTypes()
Returns a list of registered data provider type paths.
*list< string > children
The names of any children.
Definition: DataProviderTypeEntry.qc.dox.h:51
bool has_type
True if the entry has a type
Definition: DataProviderTypeEntry.qc.dox.h:43
addChild(string child)
Adds a child node to the entry.