| Qore DataProvider Module Reference 3.2.2

Loading...
Searching...
No Matches
SoftListDataType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
25// assume local scope for variables, do not use "$" signs
26// require type definitions everywhere
28// enable all warnings
29
30
32 namespace DataProvider {
34 class SoftListDataType : public ListDataType {
35
36 public:
38 constructor(AbstractDataProviderType element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags, *list<auto> default_value, *hash<NameDescInfo> attr)
39 ;
40
41
43 constructor(Type element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags, *list<auto> default_value, *hash<NameDescInfo> attr)
44 ;
45
46
48 constructor(string name, AbstractDataProviderType element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags, *list<auto> default_value, *hash<NameDescInfo> attr)
49 ;
50
51
53 constructor(string name, Type element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags, *list<auto> default_value, *hash<NameDescInfo> attr)
54 ;
55
56
58 *AbstractDataProviderType getElementType();
59
60
62 *hash<string, AbstractDataField> getFields();
63
64
66
72 auto acceptsValue(auto value);
73
74
76 protected:
77 init(AbstractDataProviderType element_type, bool or_nothing);
78 public:
79
80
82 protected:
83 Type getQoreType(Type element_type, bool or_nothing);
84 public:
85
86};
87};
DataProvider::AbstractDataProviderType
describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
DataProvider::AbstractDataProviderType::tags
*hash< auto > tags
type tags
Definition AbstractDataProviderType.qc.dox.h:155
DataProvider::ListDataType
describes a data type based on a hash
Definition ListDataType.qc.dox.h:28
DataProvider::ListDataType::element_type
AbstractDataProviderType element_type
element type
Definition ListDataType.qc.dox.h:33
DataProvider::QoreDataType::default_value
auto default_value
Default value for type.
Definition QoreDataType.qc.dox.h:72
DataProvider::SoftListDataType
describes a data type based on a hash
Definition SoftListDataType.qc.dox.h:34
DataProvider::SoftListDataType::getFields
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
DataProvider::SoftListDataType::getQoreType
Type getQoreType(Type element_type, bool or_nothing)
Returns the underlying Qore type for this type.
DataProvider::SoftListDataType::getElementType
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
DataProvider::SoftListDataType::init
init(AbstractDataProviderType element_type, bool or_nothing)
common constructor initialization
DataProvider::SoftListDataType::constructor
constructor(string name, Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
DataProvider::SoftListDataType::constructor
constructor(string name, AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
DataProvider::SoftListDataType::constructor
constructor(Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
DataProvider::SoftListDataType::constructor
constructor(AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags, *list< auto > default_value, *hash< NameDescInfo > attr)
creates the object
DataProvider::SoftListDataType::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:27