 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
23 #ifndef _D_STRUCTURE_TYPE_
24 #define _D_STRUCTURE_TYPE_
95 void print_value(
const char *storage, std::ostream &s)
const override;
void convertToBigEndian(char *cells, r_Area noCells) const override
converts array of cells from Unix byte order to NT byte order.
r_Attribute & operator[](unsigned int number)
subscript operator to access attributes by index
unsigned int count_elements() const
get number of attributes
~r_Structure_Type() override=default
destructor.
std::vector< r_Attribute > myAttributes
Definition: structuretype.hh:98
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation...
Definition: basetype.hh:39
virtual bool compatibleWith(const r_Structure_Type *myType) const
check, if this type is compatible with myType (e.g. check the structure ignoring then names of atribu...
std::ostream & operator<<(std::ostream &str, const r_Structure_Type &type)
bool isStructType() const override
check, if type is primitive or structured.
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type sy...
Definition: type.hh:50
void convertToLittleEndian(char *cells, r_Area noCells) const override
converts array of cells from NT byte order to Unix byte order.
const std::vector< r_Attribute > & getAttributes() const
void print_status(std::ostream &s) const override
writes state of object to specified stream
r_Type_Id
typedef for the enum specifying a primitive type, structure type, marray type, interval type,...
Definition: type.hh:55
r_Type * clone() const override
clone operation
void print_value(const char *storage, std::ostream &s) const override
prints values of a structured type
This class represents all user defined structured types in the ODMG conformant representation of the ...
Definition: structuretype.hh:40
r_Structure_Type()=default
default constructor.
This class represents attributes of structs in the ODMG conformant representation of the RasDaMan typ...
Definition: attribute.hh:46
std::uint64_t r_Area
number of cells in an mdd object or tile.
Definition: mddtypes.hh:49
r_Type::r_Type_Id type_id() const override
retrieve id of the type.
const r_Structure_Type & operator=(const r_Structure_Type &oldObj)
assignment operator.
r_Attribute & resolve_attribute(const char *name)
return attribute specified by name.