Version: 8.3.0
SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE > Class Template Reference

Wrapper over pointer to SMDS_Iterator, like SMDS_ElemIteratorPtr, enabling its usage in std-like way: provide operators ++, *, etc. More...

#include <SMDS_StdIterator.hxx>

Inheritance diagram for SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >:

Public Types

typedef SMDS_StdIterator
< VALUE, PtrSMDSIterator > 
_Self
 

Public Member Functions

 SMDS_StdIterator (PtrSMDSIterator pItr)
 
 SMDS_StdIterator ()
 
VALUE operator* () const
 Return the current object. More...
 
_Selfoperator++ ()
 
_Self operator++ (int)
 
bool operator!= (const _Self &__x) const
 
bool operator== (const _Self &__x) const
 

Private Attributes

VALUE _value
 
PtrSMDSIterator _piterator
 
EqualVALUE _EqualVALUE
 

Detailed Description

template<typename VALUE, class PtrSMDSIterator, class EqualVALUE = std::equal_to<VALUE>>
class SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >

Wrapper over pointer to SMDS_Iterator, like SMDS_ElemIteratorPtr, enabling its usage in std-like way: provide operators ++, *, etc.

Member Typedef Documentation

template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
typedef SMDS_StdIterator<VALUE, PtrSMDSIterator> SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::_Self

Constructor & Destructor Documentation

template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::SMDS_StdIterator ( PtrSMDSIterator  pItr)
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::SMDS_StdIterator ( )

Member Function Documentation

template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
bool SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::operator!= ( const _Self __x) const
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
VALUE SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::operator* ( ) const
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
_Self& SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::operator++ ( )
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
_Self SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::operator++ ( int  )
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
bool SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::operator== ( const _Self __x) const

Field Documentation

template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
EqualVALUE SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::_EqualVALUE
private
template<typename VALUE , class PtrSMDSIterator , class EqualVALUE = std::equal_to<VALUE>>
PtrSMDSIterator SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE >::_piterator
private