 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
24 #ifndef D_PRIMITIVE_TYPE_HH
25 #define D_PRIMITIVE_TYPE_HH
69 void print_value(
const char *storage, std::ostream &s)
const override;
float r_Float
Definition: odmgtypes.hh:39
r_Float get_float(const char *cell) const
void set_char(char *cell, r_Char)
r_Boolean get_boolean(const char *cell) const
r_UShort get_ushort(const char *cell) const
r_Long get_long(const char *cell) const
r_Primitive_Type()=default
default constructor.
std::int16_t r_Short
Definition: odmgtypes.hh:36
@ UNKNOWNTYPE
Definition: type.hh:78
void set_value(char *cell, r_Double)
std::uint32_t r_ULong
Definition: odmgtypes.hh:38
This class represents all primitive types in the ODMG conformant representation of the RasDaMan type ...
Definition: primitivetype.hh:41
bool isPrimitiveType() const override
check, if type is primitive.
std::int8_t r_Octet
Definition: odmgtypes.hh:34
void set_octet(char *cell, r_Octet)
void print_status(std::ostream &s) const override
writes state of object to specified stream
void set_boolean(char *cell, r_Boolean)
const r_Primitive_Type & operator=(const r_Primitive_Type &oldObj)
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation...
Definition: basetype.hh:39
std::uint8_t r_Char
Definition: odmgtypes.hh:33
void checkType(r_Type::r_Type_Id cellType) const
r_ULong get_ulong(const char *cell) const
void convertToBigEndian(char *cells, r_Area noCells) const override
converts array of cells from Unix byte order to NT byte order.
r_Type * clone() const override
clone operation
std::int32_t r_Long
Definition: odmgtypes.hh:37
~r_Primitive_Type() override=default
void set_float(char *cell, r_Float)
std::uint8_t r_Boolean
Definition: odmgtypes.hh:32
r_Octet get_octet(const char *cell) const
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type sy...
Definition: type.hh:50
r_Char get_char(const char *cell) const
void get_limits(r_Double &, r_Double &)
std::uint16_t r_UShort
Definition: odmgtypes.hh:35
r_Short get_short(const char *cell) const
void set_short(char *cell, r_Short)
r_Double get_double(const char *cell) const
std::ostream & operator<<(std::ostream &str, const r_Primitive_Type &type)
r_Type_Id
typedef for the enum specifying a primitive type, structure type, marray type, interval type,...
Definition: type.hh:55
void convertToLittleEndian(char *cells, r_Area noCells) const override
converts array of cells from NT byte order to Unix byte order.
void set_ulong(char *cell, r_ULong)
double r_Double
Definition: odmgtypes.hh:40
void print_value(const char *storage, std::ostream &s) const override
prints value of a primitive type
void set_double(char *cell, r_Double)
void set_ushort(char *cell, r_UShort)
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.
r_Double get_value(const char *cell) const
void set_long(char *cell, r_Long)
r_Type::r_Type_Id typeId
Definition: primitivetype.hh:104