RVC::OBJECT::CONST_ITERATOR Class Reference

Constant iterator class. More...

#include <rvc/object.h>

Inheritance diagram for RVC::OBJECT::CONST_ITERATOR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CONST_ITERATOR (const RVC::OBJECT *parent, RVC::OBJTYPE m_ObjType)
 CONST_ITERATOR (const CONST_ITERATOR &rhs)
 CONST_ITERATOR (int)
 CONST_ITERATOR ()
virtual ~CONST_ITERATOR ()
bool operator!= (const CONST_ITERATOR &rhs) const
const RVC::OBJECToperator* () const
CONST_ITERATORoperator++ ()
const RVC::OBJECToperator-> () const
CONST_ITERATORoperator= (const CONST_ITERATOR &rhs)
bool operator== (const CONST_ITERATOR &rhs) const

Protected Attributes

OBJECTm_CurrentObj
void * m_Iterator
OBJTYPE m_ObjType

Detailed Description

Constant iterator class.

This class is used to iterate through a parent rvc object's children. This construct replaces the MfGetList() routines. See methods ChildListBegin() and ChildListEnd() for obtaining an child iterator


Constructor & Destructor Documentation

RVC::OBJECT::CONST_ITERATOR::CONST_ITERATOR (  )  [inline]

Default constructor.

RVC::OBJECT::CONST_ITERATOR::CONST_ITERATOR ( int   )  [inline, explicit]

Idiot constructor for G++.

RVC::OBJECT::CONST_ITERATOR::CONST_ITERATOR ( const CONST_ITERATOR rhs  ) 

Copy constructor.

RVC::OBJECT::CONST_ITERATOR::CONST_ITERATOR ( const RVC::OBJECT parent,
RVC::OBJTYPE  m_ObjType 
)

Interanl constructor used by ChildListBegin() methods.

virtual RVC::OBJECT::CONST_ITERATOR::~CONST_ITERATOR (  )  [virtual]

Destructor.


Member Function Documentation

bool RVC::OBJECT::CONST_ITERATOR::operator!= ( const CONST_ITERATOR rhs  )  const [inline]

Comparison for inequality.

Reimplemented in RVC::OBJECT::ITERATOR.

const RVC::OBJECT& RVC::OBJECT::CONST_ITERATOR::operator* (  )  const [inline]

Dereference.

Reimplemented in RVC::OBJECT::ITERATOR.

CONST_ITERATOR& RVC::OBJECT::CONST_ITERATOR::operator++ (  ) 

Pre-increment.

Reimplemented in RVC::OBJECT::ITERATOR.

const RVC::OBJECT* RVC::OBJECT::CONST_ITERATOR::operator-> (  )  const [inline]

Dereference arrow.

Reimplemented in RVC::OBJECT::ITERATOR.

CONST_ITERATOR& RVC::OBJECT::CONST_ITERATOR::operator= ( const CONST_ITERATOR rhs  ) 

Assignment.

bool RVC::OBJECT::CONST_ITERATOR::operator== ( const CONST_ITERATOR rhs  )  const [inline]

Comparison for equality.

Reimplemented in RVC::OBJECT::ITERATOR.


Member Data Documentation


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

Generated on Sun Oct 7 21:37:43 2012 for TNTsdk 2012 by  doxygen 1.6.1