describes a data type
Definition: AbstractDataProviderType.qc.dox.h:108
describes a data type based on a hash
Definition: ListDataType.qc.dox.h:34
AbstractDataProviderType element_type
element type
Definition: ListDataType.qc.dox.h:42
describes a data type based on a hash
Definition: SoftListDataType.qc.dox.h:34
hash< string, bool > getReturnTypeHash()
returns a hash of base types returned by this type; keys are type names
constructor(Type element_type, bool or_nothing=False)
creates the object
*Type getValueType()
returns the base type for the type, if any
*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, AbstractDataField > getFields()
returns the fields of the data structure; if any
hash< string, bool > getAcceptTypeHash()
returns a hash of base types accepted by this type; keys are type names
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
constructor(AbstractDataProviderType element_type, bool or_nothing=False)
creates the object
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27