rasdaman complete source
|
#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 QtTypeElement & | operator= (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 Type * | getType () const |
const char * | getName () const |
bool | isBaseType () const |
bool | isInteger () const |
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}.
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 | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 | ) |
|
inline |
void QtTypeElement::setType | ( | const Type * | newType | ) |