rasdaman complete source
|
#include <qtconcat.hh>
Public Member Functions | |
QtConcat (QtOperationList *opList, unsigned int dim) | |
constructor getting operand list and dimension 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 void | simplify () |
simplifies the tree More... | |
QtData * | evaluate (QtDataList *inputList) |
method for evaluating 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... | |
virtual QtAreaType | getAreaType () |
test if the edge to the parent node is of type mdd or atomic More... | |
unsigned int | getDimension () |
getter for the dimension along which the concatenation is performed More... | |
const BaseType * | getResultType (const BaseType *op1, const BaseType *op2) |
type coercion More... | |
int | isSignedType (const BaseType *type) |
checks whether a type is signed or not (for type coercion) More... | |
![]() | |
QtNaryOperation () | |
default constructor More... | |
QtNaryOperation (QtNode *node) | |
constructor getting the node to the parent More... | |
QtNaryOperation (QtOperationList *opList) | |
constructor getting a list of operands More... | |
virtual | ~QtNaryOperation () |
virtual destructor More... | |
virtual QtNodeList * | getChilds (QtChildType flag) |
return childs of the node More... | |
virtual void | setInput (QtOperation *, QtOperation *inputNew) |
method for query rewrite More... | |
virtual void | optimizeLoad (QtTrimList *trimList) |
optimizing load access More... | |
void | setInputs (QtOperationList *opList) |
QtNode::QtOperationList * | getInputs () |
![]() | |
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 | printTree (int tab, std::ostream &s, QtChildType mode=QT_ALL_NODES) |
prints the tree 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) |
QtConcat::QtConcat | ( | QtOperationList * | opList, |
unsigned int | dim | ||
) |
constructor getting operand list and dimension
|
virtual |
type checking of the subtree
Reimplemented from QtOperation.
test if the two nodes have an equal meaning in a subtree
Reimplemented from QtNaryOperation.
|
virtual |
method for evaluating the node
Reimplemented from QtOperation.
|
virtual |
test if the edge to the parent node is of type mdd or atomic
Reimplemented from QtNaryOperation.
|
inline |
getter for the dimension along which the concatenation is performed
|
inlinevirtual |
method for identification of nodes
Reimplemented from QtNode.
type coercion
|
virtual |
creates a unique name for a common subexpression
Reimplemented from QtNaryOperation.
int QtConcat::isSignedType | ( | const BaseType * | type | ) |
checks whether a type is signed or not (for type coercion)
|
virtual |
prints the algebraic expression
Reimplemented from QtNaryOperation.
|
virtual |
prints the tree
Reimplemented from QtNaryOperation.
|
virtual |
simplifies the tree
Reimplemented from QtNaryOperation.