Orfeo Toolbox  4.0
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
otb::ObjectList< TObject >::ReverseIterator Class Reference

ReverseIterator of the object list. More...

#include <otbObjectList.h>

Public Types

typedef
InternalContainerType::reverse_iterator 
InternalReverseIteratorType
 

Public Member Functions

 ReverseIterator ()
 
 ReverseIterator (InternalReverseIteratorType iter)
 
 ReverseIterator (const ReverseIterator &it)
 
ObjectPointerType Get (void)
 
InternalReverseIteratorTypeGetIter (void)
 
bool operator!= (const ReverseIterator &it)
 
ReverseIteratoroperator++ ()
 
ReverseIteratoroperator-- ()
 
ReverseIteratoroperator= (const ReverseIterator &it)
 
bool operator== (const ReverseIterator &it)
 
void Set (ObjectPointerType element)
 

Private Attributes

InternalReverseIteratorType m_Iter
 

Friends

class Iterator
 
class ObjectList
 
class ReverseConstIterator
 

Detailed Description

template<class TObject>
class otb::ObjectList< TObject >::ReverseIterator

ReverseIterator of the object list.

Definition at line 338 of file otbObjectList.h.

Member Typedef Documentation

template<class TObject>
typedef InternalContainerType::reverse_iterator otb::ObjectList< TObject >::ReverseIterator::InternalReverseIteratorType

typedef of the internal iterator

Definition at line 346 of file otbObjectList.h.

Constructor & Destructor Documentation

template<class TObject>
otb::ObjectList< TObject >::ReverseIterator::ReverseIterator ( )
inline

Constructor

Definition at line 348 of file otbObjectList.h.

template<class TObject>
otb::ObjectList< TObject >::ReverseIterator::ReverseIterator ( InternalReverseIteratorType  iter)
inline

Constructor with iternal iterator parameter

Definition at line 350 of file otbObjectList.h.

template<class TObject>
otb::ObjectList< TObject >::ReverseIterator::ReverseIterator ( const ReverseIterator it)
inline

Copy operator.

Definition at line 410 of file otbObjectList.h.

References otb::ObjectList< TObject >::ReverseIterator::m_Iter.

Member Function Documentation

template<class TObject>
ObjectPointerType otb::ObjectList< TObject >::ReverseIterator::Get ( void  )
inline

Get the current object.

Returns
The current object pointed by the iterator.

Definition at line 358 of file otbObjectList.h.

template<class TObject>
InternalReverseIteratorType& otb::ObjectList< TObject >::ReverseIterator::GetIter ( void  )
inline

Get the current internal iterator

Definition at line 418 of file otbObjectList.h.

Referenced by otb::ObjectList< TObject >::Insert().

template<class TObject>
bool otb::ObjectList< TObject >::ReverseIterator::operator!= ( const ReverseIterator it)
inline

Difference comparison operator.

Definition at line 388 of file otbObjectList.h.

References otb::ObjectList< TObject >::ReverseIterator::m_Iter.

template<class TObject>
ReverseIterator& otb::ObjectList< TObject >::ReverseIterator::operator++ ( )
inline

Increment.

Definition at line 372 of file otbObjectList.h.

template<class TObject>
ReverseIterator& otb::ObjectList< TObject >::ReverseIterator::operator-- ( )
inline

Decrement.

Definition at line 380 of file otbObjectList.h.

template<class TObject>
ReverseIterator& otb::ObjectList< TObject >::ReverseIterator::operator= ( const ReverseIterator it)
inline

Instantiation operator.

Definition at line 402 of file otbObjectList.h.

References otb::ObjectList< TObject >::ReverseIterator::m_Iter.

template<class TObject>
bool otb::ObjectList< TObject >::ReverseIterator::operator== ( const ReverseIterator it)
inline

Equality comparison operator.

Definition at line 395 of file otbObjectList.h.

References otb::ObjectList< TObject >::ReverseIterator::m_Iter.

template<class TObject>
void otb::ObjectList< TObject >::ReverseIterator::Set ( ObjectPointerType  element)
inline

Set the current object

Definition at line 365 of file otbObjectList.h.

Friends And Related Function Documentation

template<class TObject>
friend class Iterator
friend

Definition at line 342 of file otbObjectList.h.

template<class TObject>
friend class ObjectList
friend

Definition at line 341 of file otbObjectList.h.

template<class TObject>
friend class ReverseConstIterator
friend

Definition at line 344 of file otbObjectList.h.

Member Data Documentation

template<class TObject>
InternalReverseIteratorType otb::ObjectList< TObject >::ReverseIterator::m_Iter
private

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

Generated at Sat Mar 8 2014 18:41:46 for Orfeo Toolbox with doxygen 1.8.3.1