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

#include <otbObjectList.h>

Public Types

typedef InternalContainerType::reverse_iterator InternalReverseIteratorType
 

Public Member Functions

ObjectPointerType Get (void)
 
InternalReverseIteratorTypeGetIter (void)
 
bool operator!= (const ReverseIterator &it)
 
ReverseIteratoroperator++ ()
 
ReverseIteratoroperator-- ()
 
ReverseIteratoroperator= (const ReverseIterator &it)
 
bool operator== (const ReverseIterator &it)
 
 ReverseIterator ()
 
 ReverseIterator (InternalReverseIteratorType iter)
 
 ReverseIterator (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 405 of file otbObjectList.h.

Member Typedef Documentation

◆ InternalReverseIteratorType

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

typedef of the internal iterator

Definition at line 413 of file otbObjectList.h.

Constructor & Destructor Documentation

◆ ReverseIterator() [1/3]

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

Constructor

Definition at line 416 of file otbObjectList.h.

◆ ReverseIterator() [2/3]

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

Constructor with iternal iterator parameter

Definition at line 419 of file otbObjectList.h.

◆ ReverseIterator() [3/3]

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

Copy operator.

Definition at line 487 of file otbObjectList.h.

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

Member Function Documentation

◆ Get()

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 428 of file otbObjectList.h.

◆ GetIter()

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

Get the current internal iterator

Definition at line 495 of file otbObjectList.h.

◆ operator!=()

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

Difference comparison operator.

Definition at line 462 of file otbObjectList.h.

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

◆ operator++()

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

Increment.

Definition at line 444 of file otbObjectList.h.

◆ operator--()

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

Decrement.

Definition at line 453 of file otbObjectList.h.

◆ operator=()

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

Instantiation operator.

Definition at line 478 of file otbObjectList.h.

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

◆ operator==()

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

Equality comparison operator.

Definition at line 470 of file otbObjectList.h.

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

◆ Set()

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

Set the current object

Definition at line 436 of file otbObjectList.h.

Friends And Related Function Documentation

◆ Iterator

template<class TObject>
friend class Iterator
friend

Definition at line 409 of file otbObjectList.h.

◆ ObjectList

template<class TObject>
friend class ObjectList
friend

Definition at line 408 of file otbObjectList.h.

◆ ReverseConstIterator

template<class TObject>
friend class ReverseConstIterator
friend

Definition at line 411 of file otbObjectList.h.

Member Data Documentation

◆ m_Iter

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

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