24#ifndef _D_COMPLEXTYPE_TYPE_
25#define _D_COMPLEXTYPE_TYPE_
45 virtual void print_value(
const char *storage, std::ostream &s)
const;
65 void swapEndianessDouble(
char *cells,
r_Area noCells)
const;
67 void swapEndianessLong(
char *cells,
r_Area noCells)
const;
Definition complextype.hh:35
virtual ~r_Complex_Type()=default
r_Complex_Type(const r_Complex_Type &)=default
virtual void convertToBigEndian(char *cells, r_Area noCells) const
converts array of cells from Unix byte order to NT byte order.
virtual void convertToLittleEndian(char *cells, r_Area noCells) const
converts array of cells from NT byte order to Unix byte order.
r_Complex_Type & operator=(const r_Complex_Type &oldObj)=default
void set_im(char *cell, r_Double im)
void set_im_long(char *cell, r_Long im)
r_Long get_im_long(const char *cell) const
void set_re(char *cell, r_Double re)
void set_re_long(char *cell, r_Long re)
r_Double get_re(const char *cell) const
virtual void print_value(const char *storage, std::ostream &s) const
prints value of a primitive type or values of a structured type
virtual bool isComplexType() const
check, if type is a base type ( primitive type or structure type).
virtual void print_status(std::ostream &s) const
writes state of object to specified stream
r_Complex_Type(const char *newTypeName, const r_Type::r_Type_Id newTypeId)
r_Long get_re_long(const char *cell) const
virtual r_Type * clone() const
clone operation
r_Double get_im(const char *cell) const
This class represents all primitive types in the ODMG conformant representation of the RasDaMan type ...
Definition primitivetype.hh:42
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type sy...
Definition type.hh:51
r_Type_Id
typedef for the enum specifying a primitive type, structure type, marray type, interval type,...
Definition type.hh:56
std::ostream & operator<<(std::ostream &str, const r_Complex_Type &type)
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition mddtypes.hh:43
std::uint64_t r_Area
number of cells in an mdd object or tile.
Definition mddtypes.hh:49
double r_Double
Definition odmgtypes.hh:40
std::int32_t r_Long
Definition odmgtypes.hh:37