![]() |
Qore DataProvider Module Reference
1.0
|
describes a data type based on softdate with validation for string parsing and time zone support More...

Public Member Functions | |
| constructor (*hash< auto > options) | |
| creates the object with the given arguments | |
Public Member Functions inherited from DataProvider::QoreDateDataTypeBase | |
| auto | acceptsValue (auto value) |
| returns the value if the value can be assigned to the type More... | |
| AbstractDataProviderType | getSoftType () |
| returns a "soft" type equivalent to the current type More... | |
| *hash< string, hash< DataProviderTypeOptionInfo > > | getSupportedOptions () |
| returns supported options | |
Public Member Functions inherited from DataProvider::QoreDataType | |
| constructor (Type type, *hash< auto > options) | |
| creates the type | |
| hash< string, bool > | getAcceptTypeHash () |
| returns a hash of base types accepted by this type; keys are type names | |
| *hash< string, bool > | getDirectTypeHash () |
| returns a hash of native base type code where no translations are performed; keys are type codes, not names | |
| *AbstractDataProviderType | getElementType () |
| returns the subtype (for lists or hashes) if there is only one | |
| *hash< string, AbstractDataField > | getFields () |
| returns the fields of the data structure; if any | |
| hash< DataTypeInfo > | getInfo () |
| returns a description of the type as a hash | |
| string | getName () |
| returns the type name | |
| hash< string, bool > | getReturnTypeHash () |
| returns a hash of base types returned by this type; keys are type names | |
| AbstractDataProviderType | getSoftType () |
| *hash< string, hash< DataProviderTypeOptionInfo > > | getSupportedOptions () |
| returns supported options | |
| *Type | getValueType () |
| returns the base type for the type, if any | |
Public Member Functions inherited from DataProvider::AbstractDataProviderType | |
| constructor () | |
| creates the type | |
| constructor (hash< auto > options) | |
| creates the type and sets options More... | |
| int | getBaseTypeCode () |
| returns the base type code for the type | |
| string | getBaseTypeName () |
| returns the base type name for the type; must be a standard Qore base type name | |
| *hash< string, bool > | getDirectTypeHash () |
| returns a hash of native base type code keys where no translations are performed; keys are type codes, not names | |
| *AbstractDataField | getField (string field_name) |
| returns the given field, if present, or NOTHING if not | |
| *hash< string, hash< DataFieldInfo > > | getFieldInfo () |
| Returns information on fields supported. | |
| *AbstractDataProviderType | getFieldType (string field_name) |
| get the given field type if it exists, otherwise return NOTHING | |
| hash< DataTypeInfo > | getInfo () |
| returns a description of the type as a hash | |
| hash< DataTypeInfo > | getInputInfo () |
| returns a description of the type as an input type More... | |
| *hash< auto > | getOptions () |
| returns options set on the type | |
| auto | getOptionValue (string opt) |
| returns the value of the given option | |
| AbstractDataProviderType | getSoftType () |
| returns a "soft" type equivalent to the current type More... | |
| *hash< string, hash< DataProviderTypeOptionInfo > > | getSupportedOptions () |
| returns supported options | |
| bool | hasType () |
| returns True if the type is not a wildcard type | |
| bool | isAssignableFrom (AbstractDataProviderType t) |
| returns True if this type can be assigned from values of the argument type | |
| bool | isAssignableFrom (Type t) |
| returns True if this type can be assigned from values of the argument type | |
| bool | isList () |
| returns True if this type is a list | |
| bool | isMandatory () |
| returns True if the type must have a value | |
| bool | isOrNothingType () |
| returns True if the type also accepts NOTHING | |
| setOption (string opt, auto value) | |
| sets the given option on the type More... | |
| setOptions (hash< auto > options) | |
| sets options on the type More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DataProvider::AbstractDataProviderType | |
| static AbstractDataProviderType | get (Type type, *hash< auto > options) |
| returns an appropriate object for the given type | |
| static AbstractDataProviderType | get (string typename, *hash< auto > options) |
| returns an appropriate object for the given type | |
Protected Member Functions inherited from DataProvider::QoreDateDataTypeBase | |
| constructor (Type type, *hash< auto > options) | |
| creates the object More... | |
Protected Member Functions inherited from DataProvider::AbstractDataProviderType | |
| setOptionIntern (string opt, auto value) | |
| sets the given option without any validation of the option | |
Protected Attributes inherited from DataProvider::QoreDateDataTypeBase | |
| const | SupportedOptions |
| supported options | |
| const | SupportedSoftOptions |
| supported soft options | |
Protected Attributes inherited from DataProvider::QoreDataType | |
| *hash< string, bool > | accept_type_hash |
| hash of base types accepted by this type; keys are type names | |
| hash< string, bool > | base_type_hash |
| hash of base types where no translations are performed; keys are type codes, not names More... | |
| hash< string, bool > | blacklist_type_hash |
| hash of type codes accepted by the base type but not accepted by this type: code -> True | |
| bool | or_nothing_type |
| flag for "or nothing" types | |
| *hash< string, bool > | return_type_hash |
| hash of base types returned by this type; keys are type names | |
| bool | soft_type |
| flag for soft types | |
| const | SoftTypeMap |
| map from normal types to soft types | |
| const | SupportedOptions |
| supported options | |
| Type | type |
| the Qore type | |
Protected Attributes inherited from DataProvider::AbstractDataProviderType | |
| hash< auto > | options |
| type options | |
describes a data type based on softdate with validation for string parsing and time zone support