rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
r_Collection_Type Class Reference

This class represents the collection type in the ODMG conformant representation of the RasDaMan type system. More...

#include <collectiontype.hh>

Inheritance diagram for r_Collection_Type:
r_Type r_Meta_Object

Public Types

enum  r_Kind { SET }
 Set type in the only one needed right now. More...
 
- 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...
 

Public Member Functions

 r_Collection_Type (const r_Collection_Type &)
 copy constructor the exception is only raised when the element type of the copied type is NULL.
 
 r_Collection_Type (r_Type &newType)
 constructor getting element type
 
 ~r_Collection_Type () override
 destructor
 
r_Kind kind () const
 returns identifier SET of enumeration r_Kind
 
const r_Collection_Typeoperator= (const r_Collection_Type &oldObj)
 assignment operator the exception is only raised when the element type of the copied type is NULL.
 
const r_Typeelement_type () const
 get element type the exception is only raised when the element type of the copied type is NULL.
 
r_Typeclone () const override
 clone operation
 
r_Type::r_Type_Id type_id () const override
 retrieve id of the type.
 
bool isCollectionType () const override
 check, if type is a Colelction type
 
void convertToLittleEndian (char *cells, r_Area noCells) const override
 converts array of cells from NT byte order to Unix byte order.
 
void convertToBigEndian (char *cells, r_Area noCells) const override
 converts array of cells from Unix byte order to NT byte order.
 
void print_status (std::ostream &s) const override
 writes state of object to specified stream
 
- Public Member Functions inherited from r_Type
 r_Type ()=default
 default constructor.
 
 r_Type (const char *newTypeName)
 constructor getting name of type.
 
virtual ~r_Type ()=default
 destructor.
 
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 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
 
- 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.
 

Protected Member Functions

 r_Collection_Type ()
 default constructor no one should use that
 

Protected Attributes

r_TypeelementType {NULL}
 element type
 
- Protected Attributes inherited from r_Meta_Object
std::string typeName
 

Additional Inherited Members

- Static Public Member Functions inherited from r_Type
static r_Typeget_any_type (const char *type_string)
 build type schema from string representation
 
static r_Typeget_any_type (const std::string &type_string)
 

Detailed Description

This class represents the collection type in the ODMG conformant representation of the RasDaMan type system.

Member Enumeration Documentation

◆ r_Kind

Set type in the only one needed right now.

Enumerator
SET 

Constructor & Destructor Documentation

◆ r_Collection_Type() [1/3]

r_Collection_Type::r_Collection_Type ( const r_Collection_Type )

copy constructor the exception is only raised when the element type of the copied type is NULL.

(this can not happen)

◆ r_Collection_Type() [2/3]

r_Collection_Type::r_Collection_Type ( r_Type newType)
explicit

constructor getting element type

◆ ~r_Collection_Type()

r_Collection_Type::~r_Collection_Type ( )
override

destructor

◆ r_Collection_Type() [3/3]

r_Collection_Type::r_Collection_Type ( )
protected

default constructor no one should use that

Member Function Documentation

◆ clone()

r_Type * r_Collection_Type::clone ( ) const
overridevirtual

clone operation

Implements r_Type.

◆ convertToBigEndian()

void r_Collection_Type::convertToBigEndian ( char *  cells,
r_Area  noCells 
) const
overridevirtual

converts array of cells from Unix byte order to NT byte order.

Implements r_Type.

◆ convertToLittleEndian()

void r_Collection_Type::convertToLittleEndian ( char *  cells,
r_Area  noCells 
) const
overridevirtual

converts array of cells from NT byte order to Unix byte order.

Implements r_Type.

◆ element_type()

const r_Type & r_Collection_Type::element_type ( ) const

get element type the exception is only raised when the element type of the copied type is NULL.

(this can not happen)

◆ isCollectionType()

bool r_Collection_Type::isCollectionType ( ) const
overridevirtual

check, if type is a Colelction type

Reimplemented from r_Type.

◆ kind()

r_Kind r_Collection_Type::kind ( ) const

returns identifier SET of enumeration r_Kind

◆ operator=()

const r_Collection_Type & r_Collection_Type::operator= ( const r_Collection_Type oldObj)

assignment operator the exception is only raised when the element type of the copied type is NULL.

(this can not happen)

◆ print_status()

void r_Collection_Type::print_status ( std::ostream &  s) const
overridevirtual

writes state of object to specified stream

Implements r_Meta_Object.

◆ type_id()

r_Type::r_Type_Id r_Collection_Type::type_id ( ) const
overridevirtual

retrieve id of the type.

Implements r_Type.

Member Data Documentation

◆ elementType

r_Type* r_Collection_Type::elementType {NULL}
protected

element type


The documentation for this class was generated from the following file: