rasdaman complete source
|
#include <primitivetype.hh>
Public Member Functions | |
r_Primitive_Type (const char *newTypeName, const r_Type::r_Type_Id newTypeId) | |
constructor getting name of type, size of type and type id. More... | |
r_Primitive_Type (const r_Primitive_Type &oldObj) | |
copy constructor More... | |
const r_Primitive_Type & | operator= (const r_Primitive_Type &oldObj) |
assignment operator. More... | |
virtual | ~r_Primitive_Type () |
destructor. More... | |
virtual r_Type * | clone () const |
clone operation More... | |
virtual r_Type::r_Type_Id | type_id () const |
retrieve id of the type. More... | |
virtual void | convertToLittleEndian (char *cells, r_Area noCells) const |
converts array of cells from NT byte order to Unix byte order. More... | |
virtual void | convertToBigEndian (char *cells, r_Area noCells) const |
converts array of cells from Unix byte order to NT byte order. More... | |
virtual void | print_status (std::ostream &s=std::cout) const |
writes state of object to specified stream More... | |
virtual bool | isPrimitiveType () const |
check, if type is primitive. More... | |
virtual void | print_value (const char *storage, std::ostream &s=std::cout) const |
prints value of a primitive type More... | |
r_Double | get_value (const char *cell) const throw ( r_Error ) |
void | set_value (char *cell, r_Double) throw ( r_Error ) |
void | get_limits (r_Double &, r_Double &) throw ( r_Error ) |
r_Boolean | get_boolean (const char *cell) const throw ( r_Error ) |
r_Char | get_char (const char *cell) const throw ( r_Error ) |
r_Octet | get_octet (const char *cell) const throw ( r_Error ) |
r_Short | get_short (const char *cell) const throw ( r_Error ) |
r_UShort | get_ushort (const char *cell) const throw ( r_Error ) |
r_Long | get_long (const char *cell) const throw ( r_Error ) |
r_ULong | get_ulong (const char *cell) const throw ( r_Error ) |
r_Float | get_float (const char *cell) const throw ( r_Error ) |
r_Double | get_double (const char *cell) const throw ( r_Error ) |
void | set_boolean (char *cell, r_Boolean) throw ( r_Error ) |
void | set_char (char *cell, r_Char) throw ( r_Error ) |
void | set_octet (char *cell, r_Octet) throw ( r_Error ) |
void | set_short (char *cell, r_Short) throw ( r_Error ) |
void | set_ushort (char *cell, r_UShort) throw ( r_Error ) |
void | set_long (char *cell, r_Long) throw ( r_Error ) |
void | set_ulong (char *cell, r_ULong) throw ( r_Error ) |
void | set_float (char *cell, r_Float) throw ( r_Error ) |
void | set_double (char *cell, r_Double) throw ( r_Error ) |
![]() | |
r_Base_Type () | |
default constructor. More... | |
r_Base_Type (const char *newTypeName, r_Bytes newSize) | |
constructor getting name of basetype. More... | |
r_Base_Type (const r_Base_Type &oldObj) | |
copy constructor More... | |
const r_Base_Type & | operator= (const r_Base_Type &oldObj) |
assignment operator. More... | |
virtual | ~r_Base_Type () |
destructor. More... | |
virtual bool | isBaseType () const |
check, if type is a base type (primitive type or structure type). More... | |
r_Bytes | size () const |
retrieve size of the type. More... | |
![]() | |
r_Type () | |
default constructor. More... | |
r_Type (const char *newTypeName) | |
constructor getting name of type. More... | |
r_Type (const r_Type &oldObj) | |
copy constructor More... | |
const r_Type & | operator= (const r_Type &oldObj) |
assignment operator. More... | |
virtual | ~r_Type () |
destructor. More... | |
virtual bool | isStructType () const |
check, if type is primitive or structured. More... | |
virtual bool | isComplexType () const |
check, if type is a base type ( primitive type or structure type). More... | |
virtual bool | isMarrayType () const |
check, if type is a marray type. More... | |
virtual bool | isSintervalType () const |
check, if type is a Sinterval More... | |
virtual bool | isMintervalType () const |
check, if type is a Minterval More... | |
virtual bool | isCollectionType () const |
check, if type is a Colelction type More... | |
virtual bool | isPointType () const |
check, if type is a Point More... | |
virtual bool | isOidType () const |
check, if type is a oid More... | |
![]() | |
r_Meta_Object () | |
default constructor. More... | |
r_Meta_Object (const char *newTypeName) | |
constructor getting name of type. More... | |
r_Meta_Object (const r_Meta_Object &oldObj) | |
copy constructor More... | |
const r_Meta_Object & | operator= (const r_Meta_Object &oldObj) |
assignment operator. More... | |
virtual | ~r_Meta_Object () |
destructor. More... | |
const char * | name () const |
retrieve name of the type. More... | |
Protected Member Functions | |
r_Primitive_Type () | |
default constructor. More... | |
Protected Attributes | |
r_Type::r_Type_Id | typeId |
![]() | |
r_Bytes | typeSize |
storing size of type in bytes More... | |
![]() | |
char * | typeName |
Additional Inherited Members | |
![]() | |
enum | r_Type_Id { ULONG, USHORT, BOOL, LONG, SHORT, OCTET, DOUBLE, FLOAT, CHAR, COMPLEXTYPE1, COMPLEXTYPE2, STRUCTURETYPE, MARRAYTYPE, COLLECTIONTYPE, SINTERVALTYPE, MINTERVALTYPE, POINTTYPE, OIDTYPE, UNKNOWNTYPE } |
enum | DLTOKEN { DLMARRAY, DLSET, DLSTRUCT, DLCOMMA, DLLEP, DLREP, DLLAP, DLRAP, DLLCP, DLRCP, DLIDENTIFIER, DLCHAR, DLOCTET, DLSHORT, DLUSHORT, DLLONG, DLULONG, DLFLOAT, DLDOUBLE, DLBOOL, DLCOMPLEXTYPE1, DLCOMPLEXTYPE2, DLINTERVAL, DLMINTERVAL, DLPOINT, DLOID, DLUNKNOWN } |
token enumeration for parser More... | |
![]() | |
static r_Type * | get_any_type (const char *type_string) |
build type schema from string representation More... | |
r_Primitive_Type::r_Primitive_Type | ( | const char * | newTypeName, |
const r_Type::r_Type_Id | newTypeId | ||
) |
constructor getting name of type, size of type and type id.
r_Primitive_Type::r_Primitive_Type | ( | const r_Primitive_Type & | oldObj | ) |
copy constructor
|
virtual |
destructor.
|
protected |
default constructor.
|
virtual |
|
virtual |
converts array of cells from Unix byte order to NT byte order.
Implements r_Type.
Reimplemented in r_Complex_Type.
|
virtual |
converts array of cells from NT byte order to Unix byte order.
Implements r_Type.
Reimplemented in r_Complex_Type.
|
virtual |
check, if type is primitive.
Reimplemented from r_Type.
const r_Primitive_Type& r_Primitive_Type::operator= | ( | const r_Primitive_Type & | oldObj | ) |
assignment operator.
|
virtual |
writes state of object to specified stream
Implements r_Meta_Object.
Reimplemented in r_Complex_Type.
|
virtual |
|
virtual |
retrieve id of the type.
Implements r_Type.
|
protected |