 |
Qore DataProvider Module Reference
1.0.4
|
*AbstractDataField getField(string name)
Returns the given field, if present, or NOTHING if not.
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:93
bool isAssignableFrom(AbstractDataProviderType t)
Returns True if this type can be assigned from values of the argument type.
*hash< string, AbstractDataField > getFields()
Returns the fields of the data structure; if any.
describes a data type based on a hashdecl
Definition: AbstractDataField.qc.dox.h:49
AbstractDataProviderType getOrNothingType()
Returns an "or nothing" type equivalent to the current type.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
TypedHash getTypedHash()
Returns the TypedHash backing the type.
describes a data type based on a hashdecl
Definition: HashDeclDataType.qc.dox.h:34
constructor(Type type, *hash< auto > options)
creates the object from a TypedHash Type
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:103
AbstractDataProviderType getSoftType()
Returns a "soft" type equivalent to the current type.
auto acceptsValue(auto value)
Returns the value if the value can be assigned to the type.
constructor(TypedHash hd, *hash< auto > options)
creates the object from the TypedHash
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:42
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37