 |
Qore DataProvider Module Reference
1.0.2
|
42 hash<string, AbstractDataField>
fields;
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
describes a data type based on a hashdecl
Definition: AbstractDataField.qc.dox.h:49
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
hash< string, AbstractDataField > fields
fields
Definition: HashDataType.qc.dox.h:42
constructor(string name=AutoHashType.getName(), hash< string, AbstractDataField > fields, *hash< auto > options)
creates the object from the given record description and assigns the name as the type
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
constructor(string name=AutoHashType.getName(), *hash< auto > options)
creates the object and assigns the name as the type
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:169
string name
the name of the type
Definition: HashDataType.qc.dox.h:39
*AbstractDataField getField(string name)
returns the given field, if present, or NOTHING if not
describes a data type based on a hash
Definition: HashDataType.qc.dox.h:34
constructor(Type base_type, *string name, *hash< auto > options)
creates the object and assigns the name as the given name or the base type's name
string getName()
returns the type name
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
addField(AbstractDataField field)
adds a field to the type
AbstractDataProviderType getOrNothingType()
returns an "or nothing" type equivalent to the current type
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37