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

#include <qtmdd.hh>

Inheritance diagram for QtMDD:
QtData

Public Member Functions

 QtMDD (MDDObj *ptr)
 constructor getting the pointer to the MDDObj object More...
 
 QtMDD (MDDObj *ptr, std::string name)
 constructor getting the pointer to the MDDObj object and an iterator name More...
 
 QtMDD (QtOperation *mintervalOp, std::list< QtScalarData * > *literalList)
 constructor getting a domain expression and a literal list for initializing a transient constant object More...
 
 QtMDD (int constantNo)
 constructor getting the number of an mdd constant More...
 
 QtMDD (const QtMDD &obj)
 copy constructor More...
 
virtual ~QtMDD ()
 destructor More...
 
BaseTypegetCellType () const
 
unsigned long getCellSize () const
 returns size of one cell in bytes More...
 
virtual QtDataType getDataType () const
 returns { QT_MDD} More...
 
virtual bool equal (const QtData *obj) const
 compares data content More...
 
virtual std::string getSpelling () const
 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...
 
MDDObjgetMDDObject () const
 gets the pointer to the MDDObj object More...
 
void setMDDObject (MDDObj *ptr)
 sets the pointer to the MDDObj object and it does not care about the old pointer More...
 
const r_MintervalgetLoadDomain () const
 read method for loadDomain More...
 
void setLoadDomain (r_Minterval &newLoadDomain)
 write method for loadDomain More...
 
const bool isFromConversion () const
 is the MDD data result from a conversion function More...
 
void setFromConversion (bool newFromConversion)
 set whether the MDD data is result from a conversion function More...
 
virtual char * getTypeStructure () const
 returns a null-terminated string describing the type structure More...
 
- Public Member Functions inherited from QtData
 QtData ()
 
 QtData (const std::string name)
 
 QtData (const QtData &obj)
 copy constructor More...
 
virtual ~QtData ()
 destructor More...
 
const QtDataoperator= (const QtData &obj)
 assignement operator More...
 
virtual bool isScalarData () const
 determines, if the data is of type scalar 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)
 

Additional Inherited Members

- Public Types inherited from QtData
enum  QtLifetime { QT_PERSISTENT, QT_TRANSIENT }
 
- Protected Attributes inherited from QtData
ParseInfoparseInfo
 pointer to an optional parser info More...
 

Constructor & Destructor Documentation

QtMDD::QtMDD ( MDDObj ptr)

constructor getting the pointer to the MDDObj object

QtMDD::QtMDD ( MDDObj ptr,
std::string  name 
)

constructor getting the pointer to the MDDObj object and an iterator name

QtMDD::QtMDD ( QtOperation mintervalOp,
std::list< QtScalarData * > *  literalList 
)

constructor getting a domain expression and a literal list for initializing a transient constant object

QtMDD::QtMDD ( int  constantNo)

constructor getting the number of an mdd constant

The list of literal objects is not deleted.

QtMDD::QtMDD ( const QtMDD obj)

copy constructor

virtual QtMDD::~QtMDD ( )
virtual

destructor

Member Function Documentation

virtual bool QtMDD::equal ( const QtData obj) const
virtual

compares data content

Implements QtData.

unsigned long QtMDD::getCellSize ( ) const

returns size of one cell in bytes

BaseType* QtMDD::getCellType ( ) const

The string pointer has to be free using free() by the caller.returns a pointer to the cell type

virtual QtDataType QtMDD::getDataType ( ) const
virtual

returns { QT_MDD}

Implements QtData.

const r_Minterval& QtMDD::getLoadDomain ( ) const
inline

read method for loadDomain

MDDObj* QtMDD::getMDDObject ( ) const
inline

gets the pointer to the MDDObj object

virtual std::string QtMDD::getSpelling ( ) const
virtual

returns content dependent string representation

Implements QtData.

virtual char* QtMDD::getTypeStructure ( ) const
virtual

returns a null-terminated string describing the type structure

Implements QtData.

const bool QtMDD::isFromConversion ( ) const
inline

is the MDD data result from a conversion function

virtual void QtMDD::printStatus ( std::ostream &  stream = std::cout) const
virtual

print status of the object to the specified stream

Reimplemented from QtData.

void QtMDD::setFromConversion ( bool  newFromConversion)
inline

set whether the MDD data is result from a conversion function

void QtMDD::setLoadDomain ( r_Minterval newLoadDomain)
inline

write method for loadDomain

void QtMDD::setMDDObject ( MDDObj ptr)
inline

sets the pointer to the MDDObj object and it does not care about the old pointer


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