| Qore DataProvider Module Reference 1.2.1

QoreStringDataTypeBase.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
31 namespace DataProvider {
33
36 class QoreStringDataTypeBase : public QoreDataType {
37
38 public:
39 protected:
41 const SupportedOptions = ...;
42
43
45 const SupportedOrNothingOptions = ...;
46
47
48 public:
49
51
53 constructor(Type type, *hash<auto> options) ;
54
55
57
63 auto acceptsValue(auto value);
64
65
67 *hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
68
69
71
73 AbstractDataProviderType getSoftType();
74
75
77 protected:
78 setOptionInternal(string opt, auto value);
79 public:
80
81 };
82 };
DataProvider::QoreDataType::type
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:42
DataProvider::QoreStringDataTypeBase::SupportedOrNothingOptions
const SupportedOrNothingOptions
supported "or nothing" options
Definition: QoreStringDataTypeBase.qc.dox.h:45
DataProvider::QoreStringDataTypeBase
describes a data type based on a string tyoe with a target encoding option
Definition: QoreStringDataTypeBase.qc.dox.h:36
DataProvider::QoreStringDataTypeBase::getSupportedOptions
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
DataProvider::QoreStringDataTypeBase::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
DataProvider::QoreStringDataTypeBase::setOptionInternal
setOptionInternal(string opt, auto value)
sets the given option without any validation of the option
DataProvider::AbstractDataProviderType::options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:98
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:88
DataProvider::QoreStringDataTypeBase::SupportedOptions
const SupportedOptions
supported options
Definition: QoreStringDataTypeBase.qc.dox.h:41
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
DataProvider::QoreDataType
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37
DataProvider::AbstractDataProviderType::constructor
constructor()
creates the type
DataProvider::QoreStringDataTypeBase::getSoftType
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type