rasdaman API
|
#include <collectiontype.hh>
Public Types | |
enum | r_Kind { SET } |
Set type in the only one needed right now. More... | |
![]() | |
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... | |
Public Member Functions | |
r_Collection_Type (const r_Collection_Type &) throw (r_Error) | |
copy constructor the exception is only raised when the element type of the copied type is NULL. (this can not happen) More... | |
r_Collection_Type (r_Type &newType) | |
constructor getting element type More... | |
r_Kind | kind () const |
returns identifier SET of enumeration r_Kind More... | |
const r_Collection_Type & | operator= (const r_Collection_Type &oldObj) throw (r_Error) |
assignment operator the exception is only raised when the element type of the copied type is NULL. (this can not happen) More... | |
const r_Type & | element_type () const throw (r_Error) |
get element type the exception is only raised when the element type of the copied type is NULL. (this can not happen) 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 bool | isCollectionType () const |
check, if type is a Colelction 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... | |
~r_Collection_Type () | |
destructor 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 | isBaseType () const |
check, if type is a base type ( primitive type or structure type). 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 | 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_Collection_Type () | |
default constructor no one should use that More... | |
Protected Attributes | |
r_Type * | elementType |
element type More... | |
![]() | |
char * | typeName |
Additional Inherited Members | |
![]() | |
static r_Type * | get_any_type (const char *type_string) |
build type schema from string representation More... | |
r_Collection_Type::r_Collection_Type | ( | const r_Collection_Type & | ) | ||
throw | ( | r_Error | |||
) |
copy constructor the exception is only raised when the element type of the copied type is NULL. (this can not happen)
r_Collection_Type::r_Collection_Type | ( | r_Type & | newType | ) |
constructor getting element type
r_Collection_Type::~r_Collection_Type | ( | ) |
destructor
|
protected |
default constructor no one should use that
|
virtual |
converts array of cells from Unix byte order to NT byte order.
Implements r_Type.
|
virtual |
converts array of cells from NT byte order to Unix byte order.
Implements r_Type.
get element type the exception is only raised when the element type of the copied type is NULL. (this can not happen)
|
virtual |
check, if type is a Colelction type
Reimplemented from r_Type.
r_Kind r_Collection_Type::kind | ( | ) | const |
returns identifier SET of enumeration r_Kind
const r_Collection_Type& r_Collection_Type::operator= | ( | const r_Collection_Type & | oldObj | ) | |
throw | ( | r_Error | |||
) |
assignment operator the exception is only raised when the element type of the copied type is NULL. (this can not happen)
|
virtual |
writes state of object to specified stream
Implements r_Meta_Object.
|
virtual |
retrieve id of the type.
Implements r_Type.
|
protected |
element type