QoreNumberDataTypeBase.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace DataProvider {
class QoreNumberDataTypeBase : public QoreDataType {
public:
protected:
const SupportedSoftOptions = {
"number.format": <DataProviderTypeOptionInfo>{
"type": Type::String,
"desc": "the format string for converting strings to numbers",
},
};
public:
protected:
constructor(Type type, *hash<auto> options) ;
public:
auto acceptsValue(auto value);
*hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
AbstractDataProviderType getSoftType();
};
};
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::QoreNumberDataTypeBase::constructor
constructor(Type type, *hash< auto > options)
creates the object
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::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