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
A type that converts to UNIX timestamps in seconds to dates.
Definition EpochIntToDateType.qc.dox.h:30
constructor(*hash< auto > options, *hash< auto > tags)
creates the field from the argument
*Type getValueType()
Returns the base type for the type, if any.
AbstractDataProviderType getOrNothingType()
Returns an "or nothing" type equivalent to the current type.
*hash< string, AbstractDataField > getFields()
Returns the fields of the data structure; if any.
hash< string, bool > getAcceptTypeHash(*bool simple)
Returns a hash of 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
string getName()
Returns the type name.
string getDisplayName()
Returns the type's display name.
string getShortDescription()
Returns the type's short description.
string getDesc()
Returns the description.
hash< string, bool > getReturnTypeHash(*bool simple)
Returns a hash of types returned by this type; keys are type names.
*AbstractDataProviderType getElementType()
Returns the subtype (for lists or hashes) if there is only one.
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27
const EpochIntToDateType
A type that converts to UNIX timestamps in seconds to dates.
Definition EpochIntToDateType.qc.dox.h:27