RVC::TIN::ELEMITERATOR< _ELEM > Class Template Reference

Constant iterator class. More...

#include <rvc/tin.h>

List of all members.

Public Member Functions

 ELEMITERATOR (const RVC::TIN *tin)
 ELEMITERATOR (const ELEMITERATOR< _ELEM > &rhs)
 ELEMITERATOR (const RVC::TIN *tin, INT32 ElemNum)
 ELEMITERATOR (int WorthlessValue)
 ELEMITERATOR ()
virtual ~ELEMITERATOR ()
INT32 GetElementNumber () const
bool operator!= (const ELEMITERATOR< _ELEM > &rhs) const
const _ELEM & operator* () const
ELEMITERATOR< _ELEM > & operator++ ()
const _ELEM * operator-> () const
ELEMITERATOR< _ELEM > & operator= (const ELEMITERATOR< _ELEM > &rhs)
bool operator== (const ELEMITERATOR< _ELEM > &rhs) const

Protected Attributes

const TINm_CurrentObj
_ELEM m_Element
INT32 m_ElemNum

Detailed Description

template<class _ELEM>
class RVC::TIN::ELEMITERATOR< _ELEM >

Constant iterator class.

This class is used to iterate through a vector objects elements See methods ElementBegin() and ElementEnd() for obtaining an element iterator


Constructor & Destructor Documentation

template<class _ELEM>
RVC::TIN::ELEMITERATOR< _ELEM >::ELEMITERATOR (  )  [inline]

Default constructor.

template<class _ELEM>
RVC::TIN::ELEMITERATOR< _ELEM >::ELEMITERATOR ( int  WorthlessValue  )  [inline]

Idiot constructor for G++.

template<class _ELEM>
RVC::TIN::ELEMITERATOR< _ELEM >::ELEMITERATOR ( const RVC::TIN tin,
INT32  ElemNum 
) [inline]

Internal constructor used by ElementEnd() methods.

template<class _ELEM>
RVC::TIN::ELEMITERATOR< _ELEM >::ELEMITERATOR ( const ELEMITERATOR< _ELEM > &  rhs  )  [inline]

Copy constructor.

template<class _ELEM>
RVC::TIN::ELEMITERATOR< _ELEM >::ELEMITERATOR ( const RVC::TIN tin  )  [inline]

Internal constructor used by ElementBegin() methods.

Scan to the first valid element

template<class _ELEM>
virtual RVC::TIN::ELEMITERATOR< _ELEM >::~ELEMITERATOR (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<class _ELEM>
INT32 RVC::TIN::ELEMITERATOR< _ELEM >::GetElementNumber (  )  const [inline]
template<class _ELEM>
bool RVC::TIN::ELEMITERATOR< _ELEM >::operator!= ( const ELEMITERATOR< _ELEM > &  rhs  )  const [inline]

Comparison for inequality.

template<class _ELEM>
const _ELEM& RVC::TIN::ELEMITERATOR< _ELEM >::operator* (  )  const [inline]

Dereference.

template<class _ELEM>
ELEMITERATOR<_ELEM>& RVC::TIN::ELEMITERATOR< _ELEM >::operator++ (  )  [inline]

Pre-increment.

Scan to the next valid element

template<class _ELEM>
const _ELEM* RVC::TIN::ELEMITERATOR< _ELEM >::operator-> (  )  const [inline]

Dereference arrow.

template<class _ELEM>
ELEMITERATOR<_ELEM>& RVC::TIN::ELEMITERATOR< _ELEM >::operator= ( const ELEMITERATOR< _ELEM > &  rhs  )  [inline]

Assignment.

< If LABEL, this can be expensive, so check first

template<class _ELEM>
bool RVC::TIN::ELEMITERATOR< _ELEM >::operator== ( const ELEMITERATOR< _ELEM > &  rhs  )  const [inline]

Comparison for equality.


Member Data Documentation

template<class _ELEM>
const TIN* RVC::TIN::ELEMITERATOR< _ELEM >::m_CurrentObj [protected]
template<class _ELEM>
_ELEM RVC::TIN::ELEMITERATOR< _ELEM >::m_Element [protected]
template<class _ELEM>
INT32 RVC::TIN::ELEMITERATOR< _ELEM >::m_ElemNum [protected]

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

Generated on Sun Oct 7 21:38:20 2012 for TNTsdk 2012 by  doxygen 1.6.1