![]() |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation of the RasDaMan type system. More...
#include <basetype.hh>
Public Member Functions | |
| r_Base_Type ()=default | |
| 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 &) | |
| copy constructor More... | |
| const r_Base_Type & | operator= (const r_Base_Type &oldObj) |
| assignment operator. More... | |
| virtual | ~r_Base_Type ()=default |
| 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... | |
| virtual void | print_value (const char *storage, std::ostream &s) const =0 |
| prints value of a primitive type or values of a structured type More... | |
Public Member Functions inherited from r_Type | |
| r_Type ()=default | |
| default constructor. More... | |
| r_Type (const char *newTypeName) | |
| constructor getting name of type. More... | |
| virtual | ~r_Type ()=default |
| destructor. More... | |
| virtual r_Type * | clone () const =0 |
| clone operation More... | |
| virtual r_Type::r_Type_Id | type_id () const =0 |
| retrieve id of the type. 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 | isPrimitiveType () const |
| check, if type is a primitive 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... | |
| virtual bool | isStringType () const |
| check, if type is a string More... | |
| virtual void | convertToLittleEndian (char *cells, r_Area noCells) const =0 |
| converts array of cells from NT byte order to Unix byte order. More... | |
| virtual void | convertToBigEndian (char *cells, r_Area noCells) const =0 |
| converts array of cells from Unix byte order to NT byte order. More... | |
Public Member Functions inherited from r_Meta_Object | |
| r_Meta_Object ()=default | |
| default constructor. More... | |
| r_Meta_Object (const char *newTypeName) | |
| constructor getting name of type. More... | |
| virtual | ~r_Meta_Object ()=default |
| destructor. More... | |
| const char * | name () const |
| retrieve name of the type. More... | |
| virtual void | print_status (std::ostream &s) const =0 |
| writes state of object to specified stream More... | |
Protected Attributes | |
| r_Bytes | typeSize {} |
| storing size of type in bytes More... | |
Protected Attributes inherited from r_Meta_Object | |
| std::string | typeName |
Additional Inherited Members | |
Public Types inherited from r_Type | |
| 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... | |
Static Public Member Functions inherited from r_Type | |
| static r_Type * | get_any_type (const char *type_string) |
| build type schema from string representation More... | |
| static r_Type * | get_any_type (const std::string &type_string) |
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation of the RasDaMan type system.
|
default |
default constructor.
| r_Base_Type::r_Base_Type | ( | const char * | newTypeName, |
| r_Bytes | newSize | ||
| ) |
constructor getting name of basetype.
| r_Base_Type::r_Base_Type | ( | const r_Base_Type & | ) |
copy constructor
|
virtualdefault |
destructor.
|
virtual |
check, if type is a base type (primitive type or structure type).
Reimplemented from r_Type.
| const r_Base_Type& r_Base_Type::operator= | ( | const r_Base_Type & | oldObj | ) |
assignment operator.
|
pure virtual |
prints value of a primitive type or values of a structured type
Implemented in r_Structure_Type, r_Primitive_Type, and r_Complex_Type.
| r_Bytes r_Base_Type::size | ( | ) | const |
retrieve size of the type.
|
protected |
storing size of type in bytes
1.8.17