 |
Qore DataProvider Module Reference
1.0.3
|
142 *hash<DataProviderTypeEntryInfo>
getTypeInfo(
string path, *
bool rec_children_only);
156 hash<DataProviderTypeEntryInfo>
getTypeInfoEx(
string path, *
bool rec_children_only);
193 *hash<DataProviderTypeEntryInfo>
getTypeInfoImpl(
string path,
bool throw_exception, *
bool rec_children_only);
*AbstractDataProviderType removeType(string path)
Removes a type from the type cache.
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:93
DataProviderTypeEntry getRoot()
Returns the root type entry.
*AbstractDataProviderType getType(string path)
Returns the given data provider type or NOTHING if not present.
int size
The size of the cache.
Definition: DataProviderTypeCache.qc.dox.h:40
bool empty()
Returns True if the cache is empty, False if not.
bool registerOrReplaceType(string path, AbstractDataProviderType type)
Register or replaces a data provider type in the cache.
*hash< DataProviderTypeEntryInfo > getTypeInfoImpl(string path, bool throw_exception, *bool rec_children_only)
Returns information for the given data provider type and either throws an exception if not present or...
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
*AbstractDataProviderType getTypeImpl(string path, bool throw_exception, *code type_loader)
Returns the given data provider type and either throws an exception if not present or returns NOTHING...
lockAll()
Locks all types.
registerType(string path, AbstractDataProviderType type, bool locked=False)
Register a new data provider type in the cache.
*list< string > listTypes()
Returns a list of registered data provider type paths.
clear()
Clears the type hierarchy of all non-locked types.
hash< DataProviderTypeEntryInfo > getTypeInfoEx(string path, *bool rec_children_only)
Returns the given data provider type or throws an exception if not present.
the DataProviderTypeEntry class
Definition: DataProviderTypeEntry.qc.dox.h:55
transient RWLock rwlock()
Data provider type cache lock.
*hash< DataProviderTypeEntryInfo > getTypeInfo(string path, *bool rec_children_only)
Returns the given data provider type or NOTHING if not present.
Data provider type cache class.
Definition: DataProviderTypeCache.qc.dox.h:29
RWLock getLock()
Returns the RWLock to allow for external serialization.
AbstractDataProviderType getTypeEx(string path)
Returns the given data provider type or throws an exception if not present.
DataProviderTypeEntry root()
Data provider data type cache.
static *AbstractDataProviderType getTypeFromFields(string path, AbstractDataProviderType type, list< string > type_path, bool throw_exception)
Returns the given data provider type and either throws an exception if not present or returns NOTHING...
int size()
Returns the number of types in the cache.