describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
*hash< auto > tags
type tags
Definition AbstractDataProviderType.qc.dox.h:155
hash< auto > options
type options
Definition AbstractDataProviderType.qc.dox.h:152
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.
constructor(string name, AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
constructor(string name, Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
constructor(string name, Type qelement_type, AbstractDataProviderType element_type, bool or_nothing, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr) publi constructor)(AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
Definition ListDataType.qc.dox.h:45
updateElementType(AbstractDataProviderType element_type)
Updates the element type.
constructor(Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
*Type getValueType()
returns the base type for the type, if any
AbstractDataProviderType element_type
element type
Definition ListDataType.qc.dox.h:33
string getDesc()
Returns the description.
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
ListDataType copyWithElementType(AbstractDataProviderType element_type)
Copies the object and assigns a new element type to the copy.
describes a data type based on a Qore data type
Definition QoreDataType.qc.dox.h:46
auto default_value
Default value for type.
Definition QoreDataType.qc.dox.h:72
string name
The name of the type; if not set then the name of "type" is used instead.
Definition QoreDataType.qc.dox.h:54
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27