Qore DataProvider Module Reference  2.7
QoreNumberDataTypeBase.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace DataProvider {
29 
30 public:
31 protected:
34  "number.format": <DataProviderTypeOptionInfo>{
35  "type": Type::String,
36  "desc": "the format string for converting strings to numbers",
37  },
38  };
39 
40 public:
41 
43 
45 protected:
46  constructor(Type type, *hash<auto> options, *hash<auto> tags) ;
47 public:
48 
49 
51 
57  auto acceptsValue(auto value);
58 
59 
61  *hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
62 
63 
64 
66 
69 
70 };
71 };
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:187
*hash< auto > tags
type tags
Definition: AbstractDataProviderType.qc.dox.h:203
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:200
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:31
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:36
describes a data type based on number types with validation for parsing strings when used with soft t...
Definition: QoreNumberDataTypeBase.qc.dox.h:28
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
const SupportedSoftOptions
supported soft options
Definition: QoreNumberDataTypeBase.qc.dox.h:33
constructor(Type type, *hash< auto > options, *hash< auto > tags)
creates the object
const String
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
describes type options
Definition: AbstractDataProviderType.qc.dox.h:125