| Qore DataProvider Module Reference 2.7.1

QoreFloatDataTypeBase.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace DataProvider {
28 class QoreFloatDataTypeBase : public QoreDataType {
29
30 public:
31 protected:
33 const SupportedSoftOptions = {
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
68 AbstractDataProviderType getSoftType();
69
70 };
71 };
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:187
DataProvider::AbstractDataProviderType::tags
*hash< auto > tags
type tags
Definition: AbstractDataProviderType.qc.dox.h:203
DataProvider::AbstractDataProviderType::options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:200
DataProvider::QoreDataType
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:31
DataProvider::QoreDataType::type
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:36
DataProvider::QoreFloatDataTypeBase
describes a data type based on softnumber with validation for parsing strings
Definition: QoreFloatDataTypeBase.qc.dox.h:28
DataProvider::QoreFloatDataTypeBase::getSoftType
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
DataProvider::QoreFloatDataTypeBase::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
DataProvider::QoreFloatDataTypeBase::SupportedSoftOptions
const SupportedSoftOptions
supported soft options
Definition: QoreFloatDataTypeBase.qc.dox.h:33
DataProvider::QoreFloatDataTypeBase::constructor
constructor(Type type, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::QoreFloatDataTypeBase::getSupportedOptions
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
String
const String
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
DataProvider::DataProviderTypeOptionInfo
describes type options
Definition: AbstractDataProviderType.qc.dox.h:125