HashDeclDataType.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 HashDeclDataType : public QoreDataType {
public:
protected:
TypedHash hd;
public:
constructor(TypedHash hd, *hash<auto> options) ;
protected:
constructor(Type type, *hash<auto> options) ;
public:
*hash<string, AbstractDataField> getFields();
*AbstractDataField getField(string name);
TypedHash getTypedHash();
AbstractDataProviderType getSoftType();
AbstractDataProviderType getOrNothingType();
};
};
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