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 };
DataProvider::QoreNumberDataTypeBase
describes a data type based on number types with validation for parsing strings when used with soft t...
Definition: QoreNumberDataTypeBase.qc.dox.h:34
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
DataProvider::QoreNumberDataTypeBase::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::DataProviderTypeOptionInfo
describes type options
Definition: AbstractDataProviderType.qc.dox.h:122
String
const String
DataProvider::QoreNumberDataTypeBase::getSupportedOptions
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
DataProvider::QoreNumberDataTypeBase::getSoftType
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
DataProvider::AbstractDataProviderType::options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:169
DataProvider::AbstractDataProviderType::constructor
constructor()
creates the type
DataProvider::QoreNumberDataTypeBase::SupportedSoftOptions
const SupportedSoftOptions
supported soft options
Definition: QoreNumberDataTypeBase.qc.dox.h:39
DataProvider::QoreDataType::type
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:42
DataProvider::QoreDataType
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37