Loading...
Searching...
No Matches
ListDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace DataProvider {
class ListDataType : public QoreDataType {
public:
protected:
string name;
AbstractDataProviderType element_type;
public:
private constructor(string name, Type qelement_type, AbstractDataProviderType element_type, bool or_nothing,
*hash<auto> options, *hash<auto> tags)
;
constructor(AbstractDataProviderType element_type, bool or_nothing = False, *hash<auto> options,
*hash<auto> tags)
;
constructor(Type element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags)
;
constructor(string name, AbstractDataProviderType element_type, bool or_nothing = False, *hash<auto> options,
*hash<auto> tags)
;
constructor(string name, Type element_type, bool or_nothing = False, *hash<auto> options, *hash<auto> tags)
;
string getName();
string getDesc();
*Type getValueType();
*AbstractDataProviderType getElementType();
*hash<string, AbstractDataField> getFields();
hash<string, bool> getAcceptTypeHash();
hash<string, bool> getReturnTypeHash();
AbstractDataProviderType getOrNothingType();
protected:
Type getQoreType(Type element_type, bool or_nothing);
public:
};
};
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:187
DataProvider::AbstractDataProviderType::tags
*hash< auto > tags
type tags
Definition: AbstractDataProviderType.qc.dox.h:203
DataProvider::AbstractDataProviderType::options
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:200
DataProvider::ListDataType
describes a data type based on a hash
Definition: ListDataType.qc.dox.h:28
DataProvider::ListDataType::getElementType
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
DataProvider::ListDataType::getQoreType
Type getQoreType(Type element_type, bool or_nothing)
Returns the underlying Qore type for this type.
DataProvider::ListDataType::getAcceptTypeHash
hash< string, bool > getAcceptTypeHash()
returns a hash of base types accepted by this type; keys are type names
DataProvider::ListDataType::constructor
private constructor(string name, Type qelement_type, AbstractDataProviderType element_type, bool or_nothing, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::ListDataType::getFields
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
DataProvider::ListDataType::name
string name
the name of the type
Definition: ListDataType.qc.dox.h:33
DataProvider::ListDataType::constructor
constructor(string name, Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::ListDataType::getName
string getName()
returns the type name
DataProvider::ListDataType::constructor
constructor(AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::ListDataType::constructor
constructor(string name, AbstractDataProviderType element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::ListDataType::getReturnTypeHash
hash< string, bool > getReturnTypeHash()
returns a hash of base types returned by this type; keys are type names
DataProvider::ListDataType::getValueType
*Type getValueType()
returns the base type for the type, if any
DataProvider::ListDataType::element_type
AbstractDataProviderType element_type
element type
Definition: ListDataType.qc.dox.h:36
DataProvider::ListDataType::getDesc
string getDesc()
Returns the description.
DataProvider::ListDataType::getOrNothingType
AbstractDataProviderType getOrNothingType()
Returns an "or nothing" type equivalent to the current type.
DataProvider::ListDataType::constructor
constructor(Type element_type, bool or_nothing=False, *hash< auto > options, *hash< auto > tags)
creates the object
DataProvider::QoreDataType
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:31
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27