Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgSonNodeIterator Class Reference

#include <SgNode.h>

List of all members.


Detailed Description

Iterator for iterating through all the sons of a SgNode.

Definition at line 419 of file SgNode.h.

Public Member Functions

 SgSonNodeIterator (SgNode *node)
void operator++ ()
SgNodeoperator * () const
 operator bool () const

Private Member Functions

 SgSonNodeIterator (const SgSonNodeIterator &)
 Not implemented.
SgSonNodeIteratoroperator= (const SgSonNodeIterator &)
 Not implemented.

Private Attributes

SgNodem_nextNode


Constructor & Destructor Documentation

SgSonNodeIterator::SgSonNodeIterator ( SgNode node  ) 

Definition at line 422 of file SgNode.h.

SgSonNodeIterator::SgSonNodeIterator ( const SgSonNodeIterator  )  [private]

Not implemented.


Member Function Documentation

SgNode* SgSonNodeIterator::operator * (  )  const

Definition at line 431 of file SgNode.h.

References m_nextNode, and SG_ASSERT.

SgSonNodeIterator::operator bool (  )  const

Definition at line 437 of file SgNode.h.

References m_nextNode.

void SgSonNodeIterator::operator++ (  ) 

Definition at line 426 of file SgNode.h.

References m_nextNode, and SgNode::RightBrother().

SgSonNodeIterator& SgSonNodeIterator::operator= ( const SgSonNodeIterator  )  [private]

Not implemented.


Member Data Documentation

SgNode* SgSonNodeIterator::m_nextNode [private]

Definition at line 443 of file SgNode.h.

Referenced by operator *(), operator bool(), and operator++().


The documentation for this class was generated from the following file:


17 Jun 2010 Doxygen 1.4.7