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