rasdaman complete source
Public Member Functions | List of all members
QtTypeElement Class Reference

#include <qtnode.hh>

Public Member Functions

 QtTypeElement ()
 
 QtTypeElement (const QtDataType initDataType, const char *initName=NULL)
 
 QtTypeElement (const Type *initType, const char *initName=NULL)
 
 QtTypeElement (const QtTypeElement &typeElement)
 
 ~QtTypeElement ()
 
const QtTypeElementoperator= (const QtTypeElement &)
 assignment: cleanup + copy More...
 
void printStatus (std::ostream &s=std::cout) const
 print type More...
 
void setDataType (const QtDataType newDataType)
 
void setType (const Type *newType)
 
void setName (const char *newName)
 
const QtDataType getDataType () const
 
const TypegetType () const
 
const char * getName () const
 
bool isBaseType () const
 
bool isInteger () const
 

Detailed Description

The class encapsulates type information. It additionally can hold a name in order to be identifyable in a list.

The type is specified by { dataType} and { type}. This is necessary because not all types are supported by subclasses of {Type}, e.g. not all types are persistent ones.

In case of QT_MDD and QT_COMPLEX, further type information can be optained from { type}.

Constructor & Destructor Documentation

QtTypeElement::QtTypeElement ( )
QtTypeElement::QtTypeElement ( const QtDataType  initDataType,
const char *  initName = NULL 
)
QtTypeElement::QtTypeElement ( const Type initType,
const char *  initName = NULL 
)
QtTypeElement::QtTypeElement ( const QtTypeElement typeElement)
QtTypeElement::~QtTypeElement ( )

Member Function Documentation

const QtDataType QtTypeElement::getDataType ( ) const
inline
const char* QtTypeElement::getName ( ) const
inline
const Type* QtTypeElement::getType ( ) const
inline
bool QtTypeElement::isBaseType ( ) const
inline
bool QtTypeElement::isInteger ( ) const
inline
const QtTypeElement& QtTypeElement::operator= ( const QtTypeElement )

assignment: cleanup + copy

void QtTypeElement::printStatus ( std::ostream &  s = std::cout) const

print type

void QtTypeElement::setDataType ( const QtDataType  newDataType)
void QtTypeElement::setName ( const char *  newName)
inline
void QtTypeElement::setType ( const Type newType)

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