rasdaman complete source
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
r_Collection_Type Class Reference

#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, 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_Typeoperator= (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_Typeelement_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_Typeclone () 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...
 
- Public Member Functions inherited from r_Type
 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_Typeoperator= (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...
 
- Public Member Functions inherited from r_Meta_Object
 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_Objectoperator= (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_TypeelementType
 element type More...
 
- Protected Attributes inherited from r_Meta_Object
char * 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 More...
 

Member Enumeration Documentation

Set type in the only one needed right now.

Enumerator
SET 

Constructor & Destructor Documentation

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

r_Collection_Type::r_Collection_Type ( )
protected

default constructor no one should use that

Member Function Documentation

virtual r_Type* r_Collection_Type::clone ( ) const
virtual

clone operation

Implements r_Type.

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

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

Implements r_Type.

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

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

Implements r_Type.

const r_Type& r_Collection_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)

virtual bool r_Collection_Type::isCollectionType ( ) const
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 void r_Collection_Type::print_status ( std::ostream &  s = std::cout) const
virtual

writes state of object to specified stream

Implements r_Meta_Object.

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

retrieve id of the type.

Implements r_Type.

Member Data Documentation

r_Type* r_Collection_Type::elementType
protected

element type


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