$search
#include <tree.h>

Public Member Functions | |
| virtual void | addImmediateValue (int value) |
| virtual void | dump (std::wostream &dest, unsigned &indent) const |
| Dump this node and the rest of the tree. | |
| virtual Node * | expandToAsebaTree (std::wostream *dump, unsigned int index=0) |
| expand to vector[index] | |
| virtual int | getImmediateValue (unsigned index) const |
| return the n-th vector's element | |
| virtual unsigned | getVectorSize () const |
| return the children's size, check for equal size, or E_NOVAL if no child | |
| virtual bool | isImmediateVector () const |
| virtual TupleVectorNode * | shallowCopy () |
| Return a shallow copy of the object (children point to the same objects). | |
| virtual std::wstring | toNodeName () const |
| Return a string representation of the name of this node. | |
| virtual std::wstring | toWString () const |
| Return a string representation of this node. | |
| TupleVectorNode (const SourcePos &sourcePos, int value) | |
| TupleVectorNode (const SourcePos &sourcePos) | |
| Constructor. | |
Node for assembling values into an array children[x] is the x-th Node to be assembled
Definition at line 497 of file tree.h.
| Aseba::TupleVectorNode::TupleVectorNode | ( | const SourcePos & | sourcePos | ) | [inline] |
| Aseba::TupleVectorNode::TupleVectorNode | ( | const SourcePos & | sourcePos, | |
| int | value | |||
| ) | [inline] |
| virtual void Aseba::TupleVectorNode::addImmediateValue | ( | int | value | ) | [inline, virtual] |
| Node * Aseba::TupleVectorNode::expandToAsebaTree | ( | std::wostream * | dump, | |
| unsigned int | index = 0 | |||
| ) | [virtual] |
expand to vector[index]
Reimplemented from Aseba::Node.
Definition at line 86 of file tree-expand.cpp.
| int Aseba::TupleVectorNode::getImmediateValue | ( | unsigned | index | ) | const [virtual] |
return the n-th vector's element
Definition at line 410 of file tree-expand.cpp.
| unsigned Aseba::TupleVectorNode::getVectorSize | ( | ) | const [virtual] |
return the children's size, check for equal size, or E_NOVAL if no child
Reimplemented from Aseba::Node.
Definition at line 309 of file tree-expand.cpp.
| bool Aseba::TupleVectorNode::isImmediateVector | ( | ) | const [virtual] |
Definition at line 397 of file tree-expand.cpp.
| virtual TupleVectorNode* Aseba::TupleVectorNode::shallowCopy | ( | ) | [inline, virtual] |
Return a shallow copy of the object (children point to the same objects).
Implements Aseba::Node.
| virtual std::wstring Aseba::TupleVectorNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.