describes a data type
Definition: AbstractDataProviderType.qc.dox.h:206
*hash< auto > tags
type tags
Definition: AbstractDataProviderType.qc.dox.h:222
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:219
describes a data type based on a hash
Definition: ListDataType.qc.dox.h:28
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
Type getQoreType(Type element_type, bool or_nothing)
Returns the underlying Qore type for this type.
hash< string, bool > getAcceptTypeHash()
returns a hash of base types accepted by this type; keys are type names
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
string name
the name of the type
Definition: ListDataType.qc.dox.h:33
constructor(string name, Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
string getName()
returns the type name
constructor(string name, AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
hash< string, bool > getReturnTypeHash()
returns a hash of base types returned by this type; keys are type names
*Type getValueType()
returns the base type for the type, if any
AbstractDataProviderType element_type
element type
Definition: ListDataType.qc.dox.h:36
string getDesc()
Returns the description.
constructor(string name, Type qelement_type, AbstractDataProviderType element_type, bool or_nothing, *hash< auto > options, *hash< auto > tags) publi constructor)(AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
Definition: ListDataType.qc.dox.h:48
AbstractDataProviderType getOrNothingType()
Returns an "or nothing" type equivalent to the current type.
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
constructor(Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:31
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27