rasdaman complete source
|
#include <qtiterator.hh>
Public Member Functions | |
QtIterator () | |
default constructor More... | |
QtIterator (QtNode *node) | |
constructor getting a pointer to the parent More... | |
virtual | ~QtIterator () |
destructor More... | |
virtual QtNodeList * | getChilds (QtChildType flag) |
return childs of the node More... | |
virtual void | printTree (int tab, std::ostream &s=std::cout, QtChildType mode=QT_ALL_NODES) |
prints the tree More... | |
virtual void | printAlgebraicExpression (std::ostream &s=std::cout) |
prints the algebraic expression More... | |
void | getInputTypeTuple (QtTypeTuple &typeTuple) |
pre optimization More... | |
virtual void | open () |
virtual void | close () |
virtual void | reset () |
void | setStreamInputs (QtONCStreamList *inputs) |
QtONCStreamList * | getStreamInputs () |
Returns inputs. More... | |
void | setStreamInput (QtONCStream *oldInput, QtONCStream *newInput) |
exchange the stream input { oldInput} with { newInput} More... | |
![]() | |
QtONCStream () | |
default constructor More... | |
QtONCStream (QtNode *node) | |
constructor getting a pointer to the parent More... | |
virtual const QtTypeTuple & | checkType ()=0 |
type checking of the subtree More... | |
virtual QtDataList * | next ()=0 |
void | setDataStreamType (const QtTypeTuple &type) |
const QtTypeTuple & | getDataStreamType () const |
![]() | |
QtNode () | |
default constructor More... | |
QtNode (QtNode *node) | |
constructor getting a pointer to the parent More... | |
virtual | ~QtNode () |
destructor More... | |
bool | subtype (enum QtNodeType a, enum QtNodeType b) |
returns weather class b is a subtype of class a More... | |
QtNodeList * | getChild (const QtNodeType node, QtChildType flag=QT_DIRECT_CHILDS) |
return childs of a certain class More... | |
virtual bool | equalMeaning (QtNode *node) |
test if the two nodes have an equal meaning in a subtree More... | |
virtual std::string | getSpelling () |
creates a unique name for a common subexpression More... | |
virtual QtAreaType | getAreaType () |
test if the edge to the parent node is of type mdd or atomic More... | |
virtual void | simplify () |
simplifies the tree More... | |
virtual const QtNodeType | getNodeType () const |
methods for identification of nodes More... | |
enum QtNodeType | getQtNodeTypeParent (enum QtNodeType) |
method for pre optimizations (basically load optimization) More... | |
virtual void | setInput (QtOperation *inputOld, QtOperation *inputNew) |
QtNode * | getParent () const |
void | setParent (QtNode *node) |
const ParseInfo & | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
Protected Attributes | |
QtONCStreamList * | inputs |
list of input streams More... | |
![]() | |
QtTypeTuple | dataStreamType |
result type of the node More... | |
![]() | |
ParseInfo | parseInfo |
attribute for parser info More... | |
Additional Inherited Members | |
![]() | |
static const int | QtNodes |
number of QtNodeTypes More... | |
static const QtNodeType | QtRoot |
the root of the inheritance tree More... | |
static const QtNodeType | QtInheritance [][2] |
the inheritance relations list More... | |
![]() | |
void | startTimer (const char *name) |
start node timer (called at evaluation time) More... | |
void | stopTimer () |
stop timer (at end of evaluation) More... | |
void | pauseTimer () |
pause More... | |
void | resumeTimer () |
resume More... | |
std::string | getEvaluationTime () |
get elapsed time if timer was started, returns a string e.g. "15 usecs" More... | |
typedef std::vector<QtONCStream*> QtIterator::QtONCStreamList |
list of QtONCStream objects
QtIterator::QtIterator | ( | ) |
default constructor
QtIterator::QtIterator | ( | QtNode * | node | ) |
constructor getting a pointer to the parent
|
virtual |
destructor
|
virtual |
Implements QtONCStream.
Reimplemented in QtJoinIterator.
|
virtual |
return childs of the node
Reimplemented from QtNode.
Reimplemented in QtOperationIterator, and QtSelectionIterator.
void QtIterator::getInputTypeTuple | ( | QtTypeTuple & | typeTuple | ) |
pre optimization
Pre-Optimization step is passed to the input streams.get input type tuple
QtONCStreamList* QtIterator::getStreamInputs | ( | ) |
Returns inputs.
|
virtual |
Implements QtONCStream.
Reimplemented in QtJoinIterator.
|
virtual |
prints the algebraic expression
Implements QtNode.
Reimplemented in QtOperationIterator, QtSelectionIterator, and QtJoinIterator.
|
virtual |
prints the tree
Implements QtNode.
Reimplemented in QtOperationIterator, QtSelectionIterator, and QtJoinIterator.
|
virtual |
Implements QtONCStream.
Reimplemented in QtJoinIterator.
void QtIterator::setStreamInput | ( | QtONCStream * | oldInput, |
QtONCStream * | newInput | ||
) |
exchange the stream input { oldInput} with { newInput}
|
inline |
|
protected |
list of input streams