![]() |
rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type system. More...
#include <type.hh>
Public Types | |
| enum | r_Type_Id { ULONG , USHORT , BOOL , LONG , SHORT , OCTET , DOUBLE , FLOAT , CHAR , COMPLEXTYPE1 , COMPLEXTYPE2 , CINT16 , CINT32 , STRUCTURETYPE , MARRAYTYPE , COLLECTIONTYPE , SINTERVALTYPE , MINTERVALTYPE , POINTTYPE , OIDTYPE , STRINGTYPE , UNKNOWNTYPE } |
| typedef for the enum specifying a primitive type, structure type, marray type, interval type, minterval type, point type or oid type More... | |
Public Member Functions | |
| r_Type ()=default | |
| default constructor. | |
| r_Type (const char *newTypeName) | |
| constructor getting name of type. | |
| virtual | ~r_Type ()=default |
| destructor. | |
| virtual r_Type * | clone () const =0 |
| clone operation | |
| virtual r_Type::r_Type_Id | type_id () const =0 |
| retrieve id of the type. | |
| virtual bool | isStructType () const |
| check, if type is primitive or structured. | |
| virtual bool | isBaseType () const |
| check, if type is a base type ( primitive type or structure type). | |
| virtual bool | isComplexType () const |
| check, if type is a base type ( primitive type or structure type). | |
| virtual bool | isMarrayType () const |
| check, if type is a marray type. | |
| virtual bool | isPrimitiveType () const |
| check, if type is a primitive type. | |
| virtual bool | isSintervalType () const |
| check, if type is a Sinterval | |
| virtual bool | isMintervalType () const |
| check, if type is a Minterval | |
| virtual bool | isCollectionType () const |
| check, if type is a Colelction type | |
| virtual bool | isPointType () const |
| check, if type is a Point | |
| virtual bool | isOidType () const |
| check, if type is a oid | |
| virtual bool | isStringType () const |
| check, if type is a string | |
| virtual void | convertToLittleEndian (char *cells, r_Area noCells) const =0 |
| converts array of cells from NT byte order to Unix byte order. | |
| virtual void | convertToBigEndian (char *cells, r_Area noCells) const =0 |
| converts array of cells from Unix byte order to NT byte order. | |
Public Member Functions inherited from r_Meta_Object | |
| r_Meta_Object ()=default | |
| default constructor. | |
| r_Meta_Object (const char *newTypeName) | |
| constructor getting name of type. | |
| virtual | ~r_Meta_Object ()=default |
| destructor. | |
| const char * | name () const |
| retrieve name of the type. | |
| virtual void | print_status (std::ostream &s) const =0 |
| writes state of object to specified stream | |
Static Public Member Functions | |
| static r_Type * | get_any_type (const char *type_string) |
| build type schema from string representation | |
| static r_Type * | get_any_type (const std::string &type_string) |
Additional Inherited Members | |
Protected Attributes inherited from r_Meta_Object | |
| std::string | typeName |
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type system.
| enum r_Type::r_Type_Id |
typedef for the enum specifying a primitive type, structure type, marray type, interval type, minterval type, point type or oid type
|
default |
default constructor.
|
explicit |
constructor getting name of type.
|
virtualdefault |
destructor.
|
pure virtual |
clone operation
Implemented in r_Complex_Type, r_Collection_Type, r_Marray_Type, r_Minterval_Type, r_Oid_Type, r_Point_Type, r_Primitive_Type, r_Sinterval_Type, r_String_Type, and r_Structure_Type.
|
pure virtual |
converts array of cells from Unix byte order to NT byte order.
Implemented in r_Complex_Type, r_Collection_Type, r_Marray_Type, r_Minterval_Type, r_Oid_Type, r_Point_Type, r_Primitive_Type, r_Sinterval_Type, r_String_Type, and r_Structure_Type.
|
pure virtual |
converts array of cells from NT byte order to Unix byte order.
Implemented in r_Complex_Type, r_Collection_Type, r_Marray_Type, r_Minterval_Type, r_Oid_Type, r_Point_Type, r_Primitive_Type, r_Sinterval_Type, r_String_Type, and r_Structure_Type.
|
static |
build type schema from string representation
|
static |
|
virtual |
check, if type is a base type ( primitive type or structure type).
Reimplemented in r_Base_Type.
|
virtual |
check, if type is a Colelction type
Reimplemented in r_Collection_Type.
|
virtual |
check, if type is a base type ( primitive type or structure type).
Reimplemented in r_Complex_Type.
|
virtual |
check, if type is a marray type.
Reimplemented in r_Marray_Type.
|
virtual |
check, if type is a Minterval
Reimplemented in r_Minterval_Type.
|
virtual |
check, if type is a oid
Reimplemented in r_Oid_Type.
|
virtual |
check, if type is a Point
Reimplemented in r_Point_Type.
|
virtual |
check, if type is a primitive type.
Reimplemented in r_Primitive_Type.
|
virtual |
check, if type is a Sinterval
Reimplemented in r_Sinterval_Type.
|
virtual |
check, if type is a string
Reimplemented in r_String_Type.
|
virtual |
check, if type is primitive or structured.
Reimplemented in r_Structure_Type.
|
pure virtual |
retrieve id of the type.
Implemented in r_Collection_Type, r_Marray_Type, r_Minterval_Type, r_Oid_Type, r_Point_Type, r_Primitive_Type, r_Sinterval_Type, r_String_Type, and r_Structure_Type.