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

Constant iterator class. More...

#include <tin.h>

List of all members.

Public Member Functions

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

Protected Attributes

INT32 m_ElemNum
const TINm_CurrentObj
_ELEM m_Element


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

Definition at line 207 of file tin.h.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 213 of file tin.h.

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

Idiot constructor for G++.

Definition at line 220 of file tin.h.

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

Internal constructor used by ElementEnd() methods.

Definition at line 228 of file tin.h.

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

Copy constructor.

Definition at line 237 of file tin.h.

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

Definition at line 246 of file tin.h.

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

Destructor.

Definition at line 262 of file tin.h.


Member Function Documentation

template<class _ELEM>
INT32 RVC::TIN::ELEMITERATOR< _ELEM >::GetElementNumber  )  const [inline]
 

Definition at line 308 of file tin.h.

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

Dereference.

Definition at line 278 of file tin.h.

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

Comparison for inequality.

Definition at line 304 of file tin.h.

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

Pre-increment.

Scan to the next valid element

Definition at line 286 of file tin.h.

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

Dereference arrow.

Definition at line 282 of file tin.h.

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

Definition at line 266 of file tin.h.

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

Comparison for equality.

Definition at line 299 of file tin.h.


Member Data Documentation

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

Definition at line 313 of file tin.h.

template<class _ELEM>
_ELEM RVC::TIN::ELEMITERATOR< _ELEM >::m_Element [protected]
 

Definition at line 314 of file tin.h.

template<class _ELEM>
INT32 RVC::TIN::ELEMITERATOR< _ELEM >::m_ElemNum [protected]
 

Definition at line 312 of file tin.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 12 06:30:07 2004 for TNTsdk by doxygen 1.3.4-20031026