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