#include <SgUctTree.h>
Definition at line 1067 of file SgUctTree.h.
Public Member Functions | |
SgUctTreeIterator (const SgUctTree &tree) | |
const SgUctNode & | operator * () const |
void | operator++ () |
operator bool () const | |
Private Attributes | |
const SgUctTree & | m_tree |
const SgUctNode * | m_current |
std::stack< boost::shared_ptr< SgUctChildIterator > > | m_stack |
Stack of child iterators. |
SgUctTreeIterator::SgUctTreeIterator | ( | const SgUctTree & | tree | ) |
Definition at line 436 of file SgUctTree.cpp.
const SgUctNode & SgUctTreeIterator::operator * | ( | ) | const |
SgUctTreeIterator::operator bool | ( | ) | const |
void SgUctTreeIterator::operator++ | ( | ) |
Definition at line 447 of file SgUctTree.cpp.
References SgUctNode::HasChildren(), m_current, m_stack, m_tree, and SG_ASSERT.
const SgUctNode* SgUctTreeIterator::m_current [private] |
Definition at line 1081 of file SgUctTree.h.
Referenced by operator *(), operator bool(), and operator++().
std::stack<boost::shared_ptr<SgUctChildIterator> > SgUctTreeIterator::m_stack [private] |
Stack of child iterators.
The elements are owned by the stack (shared_ptr is only used because auto_ptr should not be used with standard containers)
Definition at line 1087 of file SgUctTree.h.
Referenced by operator++().
const SgUctTree& SgUctTreeIterator::m_tree [private] |