Qore DataProvider Module Reference  1.0
QoreNumberDataTypeBase.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29 
30 
32 namespace DataProvider {
35 
36 public:
37 protected:
40  "number.format": <DataProviderTypeOptionInfo>{
41  "type": Type::String,
42  "desc": "the format string for converting strings to numbers",
43  },
44  };
45 
46 public:
47 
49 
51 protected:
52  constructor(Type type, *hash<auto> options) ;
53 public:
54 
55 
57 
63  auto acceptsValue(auto value);
64 
65 
67  *hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
68 
69 
70 
72 
75 
76 };
77 };
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
const String
describes a data type based on number types with validation for parsing strings when used with soft t...
Definition: QoreNumberDataTypeBase.qc.dox.h:34
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:42
describes type options
Definition: AbstractDataProviderType.qc.dox.h:122
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:169
const SupportedSoftOptions
supported soft options
Definition: QoreNumberDataTypeBase.qc.dox.h:39
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37