5 #include <libutl/FwdIt.h> 6 #include <libutl/Queue.h> 12 #include <libutl/gblnew_macros.h> 53 virtual void forward(
size_t dist = 1);
55 virtual Object*
get()
const;
71 virtual void set(
const Object* object);
94 typedef std::queue<BinTreeNode*> nodeq_t;
112 BinTree::beginBFS()
const 133 BinTree::beginBFSNew()
const 144 BinTree::beginBFSNew()
154 BinTree::endBFS()
const 172 BinTree::endBFSNew()
const
BinTree * getTree() const
Get the associated BinTree.
void deInit()
De-initialize UTL++.
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
BinTreeBfsIt(const BinTree *tree, BinTreeNode *node)
Constructor.
#define IFDEBUG(x)
Do x in DEBUG mode only.
void copy(T *dest, const T *src, size_t len)
Copy one array of objects to another.
virtual void forward(size_t dist=1)
Move forward the given number of objects.
virtual Object * get() const
Get the current object.
Forward iterator abstraction.
void setNode(BinTreeNode *node)
Set the node.
void setConst(bool p_const)
Set the const flag.
Breadth-first BinTree iterator.
BinTreeNode * getNode() const
Get the current node.
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
void init()
Initialize UTL++.