37 #ifndef _COMPLEXTYPE_HH_
38 #define _COMPLEXTYPE_HH_
47 #include "catalogmgr/ops.hh"
83 virtual void printCell(ostream& stream,
const char* cell)
const;
94 unsigned int reOffset, imOffset;
119 virtual void printCell(ostream& stream,
const char* cell)
const;
129 unsigned int reOffset, imOffset;
143 #include "complextype.icc"
virtual unsigned int getReOffset() const =0
virtual const char * getTypeName() const
returns the name of the type as a C string.
AtomicType & operator=(const AtomicType &old)
static const char * Name
Definition: complextype.hh:87
GenericComplexType(const char *name, unsigned int size)
Definition: complextype.hh:60
virtual ~GenericComplexType()
Definition: complextype.hh:62
virtual double * convertToCDouble(const char *cell, double *value) const =0
AtomicType(unsigned int newSize)
virtual char * makeFromCDouble(char *cell, const double *value) const =0
virtual r_Long * convertToCLong(const char *cell, r_Long *value) const =0
GenericComplexType(const OId &id)
Definition: complextype.hh:61
virtual char * makeFromCLong(char *cell, const r_Long *value) const =0
unsigned int size
Definition: atomictype.hh:90
static const char * Name
Definition: complextype.hh:123
Definition: atomictype.hh:59
virtual void readFromDb()=0
Definition: complextype.hh:110
virtual unsigned int getImOffset() const =0
Definition: complextype.hh:56
Definition: complextype.hh:74
virtual r_ULong * convertToCULong(const char *cell, r_ULong *value) const =0
virtual void printCell(ostream &stream, const char *cell) const =0
virtual char * makeFromCULong(char *cell, const r_ULong *value) const =0