rasdaman complete source
|
#include <qtconversion.hh>
Public Member Functions | |
QtConversion (QtOperation *newInput, QtConversionType newConversionType, const char *=NULL) | |
constructor getting operand and format conversion type More... | |
void | setConversionTypeByName (std::string formatName) |
set the format conversion type by name More... | |
virtual bool | equalMeaning (QtNode *node) |
test if the two nodes have an equal meaning in a subtree More... | |
QtData * | evaluate (QtDataList *inputList) |
evaluates 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... | |
virtual const QtNodeType | getNodeType () const |
method for identification of nodes More... | |
virtual const QtTypeElement & | checkType (QtTypeTuple *typeTuple=NULL) |
type checking of the subtree More... | |
![]() | |
QtUnaryOperation () | |
default constructor More... | |
QtUnaryOperation (QtOperation *input) | |
constructor getting the node to its operand More... | |
virtual | ~QtUnaryOperation () |
virtual destructor More... | |
virtual std::string | getSpelling () |
creates a unique name for a common subexpression More... | |
virtual void | simplify () |
simplifies the tree More... | |
virtual QtNodeList * | getChilds (QtChildType flag) |
return childs of the node More... | |
virtual QtAreaType | getAreaType () |
test if the edge to the parent node is of type mdd or atomic More... | |
virtual void | setInput (QtOperation *inputOld, QtOperation *inputNew) |
method for query rewrite More... | |
virtual void | optimizeLoad (QtTrimList *trimList) |
optimizing load access More... | |
virtual void | setInput (QtOperation *input) |
QtOperation * | getInput () |
![]() | |
QtOperation () | |
default constructor More... | |
QtOperation (QtNode *parent) | |
constructor getting a pointer to the parent More... | |
virtual QtOperation * | getUniqueOrder (const QtNode::QtNodeType ID) |
for associative law More... | |
void | printAlgebraicExpression (std::ostream &s) |
prints the algebraic expression More... | |
void | setDataStreamType (const QtTypeElement &type) |
const QtTypeElement & | 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... | |
enum QtNodeType | getQtNodeTypeParent (enum QtNodeType) |
method for pre optimizations (basically load optimization) More... | |
QtNode * | getParent () const |
void | setParent (QtNode *node) |
const ParseInfo & | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
Static Public Member Functions | |
static bool | lookupConversionTypeByName (std::string formatName) |
look up the format conversion type by name 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... | |
![]() | |
QtOperation * | input |
operation operand More... | |
![]() | |
QtTypeElement | dataStreamType |
result type of the node More... | |
![]() | |
ParseInfo | parseInfo |
attribute for parser info More... | |
QtConversion::QtConversion | ( | QtOperation * | newInput, |
QtConversionType | newConversionType, | ||
const char * | = NULL |
||
) |
constructor getting operand and format conversion type
|
virtual |
type checking of the subtree
Reimplemented from QtOperation.
test if the two nodes have an equal meaning in a subtree
Reimplemented from QtUnaryOperation.
|
virtual |
evaluates the node
Reimplemented from QtOperation.
|
inlinevirtual |
method for identification of nodes
Reimplemented from QtNode.
|
static |
look up the format conversion type by name
|
virtual |
prints the algebraic expression
Implements QtNode.
|
virtual |
prints the tree
Reimplemented from QtUnaryOperation.
void QtConversion::setConversionTypeByName | ( | std::string | formatName | ) |
set the format conversion type by name