rasdaman complete source
|
#include <qtdata.hh>
Public Types | |
enum | QtLifetime { QT_PERSISTENT, QT_TRANSIENT } |
Public Member Functions | |
QtData () | |
QtData (const std::string name) | |
QtData (const QtData &obj) | |
copy constructor More... | |
virtual | ~QtData () |
destructor More... | |
const QtData & | operator= (const QtData &obj) |
assignement operator More... | |
virtual QtDataType | getDataType () const =0 |
returns type of data represented by the QtData object More... | |
virtual char * | getTypeStructure () const =0 |
returns a null-terminated string describing the type structure More... | |
virtual bool | isScalarData () const |
determines, if the data is of type scalar More... | |
virtual bool | equal (const QtData *obj) const =0 |
compares data content More... | |
virtual std::string | getSpelling () const =0 |
returns content dependent string representation More... | |
virtual void | printStatus (std::ostream &stream=std::cout) const |
print status of the object to the specified stream More... | |
std::string const | getIteratorName () const |
get the iterator name More... | |
void | setIteratorName (const std::string &iteratorNameNew) |
QtLifetime const | getLifetime () const |
void | setLifetime (QtLifetime flag) |
unsigned int | getRefNo () const |
return number of references to the self object More... | |
void | incRef () |
increases the reference counter by one More... | |
int | deleteRef () |
deletes one reference and the object if it was the last one More... | |
ParseInfo | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
Protected Attributes | |
ParseInfo * | parseInfo |
pointer to an optional parser info More... | |
enum QtData::QtLifetime |
QtData::QtData | ( | ) |
QtData::QtData | ( | const std::string | name | ) |
QtData::QtData | ( | const QtData & | obj | ) |
copy constructor
|
virtual |
destructor
|
inline |
deletes one reference and the object if it was the last one
|
pure virtual |
compares data content
Implemented in QtMDD, QtScalarData, QtMDDConfig, QtMintervalData, QtPointData, QtIntervalData, and QtStringData.
|
pure virtual |
returns type of data represented by the QtData object
Implemented in QtMDD, QtMDDConfig, QtMintervalData, QtPointData, QtIntervalData, QtStringData, and QtScalarData.
|
inline |
get the iterator name
|
inline |
|
inline |
In case the object is deleted, 1 is returned, 0 otherwise.
|
inline |
return number of references to the self object
|
pure virtual |
returns content dependent string representation
Implemented in QtMDD, QtScalarData, QtMDDConfig, QtMintervalData, QtPointData, QtIntervalData, and QtStringData.
|
pure virtual |
returns a null-terminated string describing the type structure
{tabular}{lll} QtMDD&&QT_MDD\ QtAtomicData&&QT_BOOL\ &&QT_CHAR\ &&QT_OCTET\ &&QT_USHORT\ &&QT_SHORT\ &&QT_ULONG\ &&QT_FLOAT\ &&QT_DOUBLE\ QtComplexData&&QT_COMPLEX\ QtString&&QT_STRING\ QtInterval&&QT_INTERVAL\ QtMinterval&&QT_MINTERVAL\ QtPoint&&QT_POINT\ {tabular}
Implemented in QtMDD, QtMDDConfig, QtScalarData, QtMintervalData, QtPointData, QtIntervalData, and QtStringData.
|
inline |
increases the reference counter by one
|
virtual |
determines, if the data is of type scalar
The string pointer has to be free using free() by the caller.
Reimplemented in QtScalarData.
|
virtual |
print status of the object to the specified stream
Reimplemented in QtMDD, QtAtomicData, QtScalarData, QtMintervalData, QtPointData, QtIntervalData, QtStringData, and QtComplexData.
|
inline |
|
inline |
|
inline |
|
protected |
pointer to an optional parser info