Qore DataProvider Module Reference  1.0.2
HashDeclDataType.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:
38  TypedHash hd;
39 
40 public:
41 
43  constructor(TypedHash hd, *hash<auto> options) ;
44 
45 
47 protected:
48  constructor(Type type, *hash<auto> options) ;
49 public:
50 
51 
53  *hash<string, AbstractDataField> getFields();
54 
55 
57  *AbstractDataField getField(string name);
58 
59 
61  TypedHash getTypedHash();
62 
63 
65 
68 
69 
71 
74 
75 };
76 };
DataProvider::HashDeclDataType::getField
*AbstractDataField getField(string name)
returns the given field, if present, or NOTHING if not
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
DataProvider::HashDeclDataType::getFields
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
DataProvider::AbstractDataField
describes a data type based on a hashdecl
Definition: AbstractDataField.qc.dox.h:49
DataProvider::HashDeclDataType::getOrNothingType
AbstractDataProviderType getOrNothingType()
returns an "or nothing" type equivalent to the current type
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::HashDeclDataType::getTypedHash
TypedHash getTypedHash()
returns the TypedHash backing the type
DataProvider::HashDeclDataType
describes a data type based on a hashdecl
Definition: HashDeclDataType.qc.dox.h:34
DataProvider::AbstractDataProviderType::options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:169
DataProvider::HashDeclDataType::getSoftType
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
DataProvider::AbstractDataProviderType::constructor
constructor()
creates the type
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