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

#include <otbObjectList.h>

+ Collaboration diagram for otb::ObjectList< TObject >::ConstIterator:

Public Types

typedef InternalContainerType::const_iterator InternalConstIteratorType
 

Public Member Functions

 ConstIterator ()
 
 ConstIterator (const ConstIterator &it)
 
 ConstIterator (const Iterator &it)
 
 ConstIterator (InternalConstIteratorType iter)
 
ObjectPointerType Get (void)
 
bool operator!= (const ConstIterator &it)
 
ConstIteratoroperator++ ()
 
ConstIteratoroperator-- ()
 
ConstIteratoroperator= (const ConstIterator &it)
 
ConstIteratoroperator= (const Iterator &it)
 
bool operator== (const ConstIterator &it)
 

Private Attributes

InternalConstIteratorType m_Iter
 

Friends

class Iterator
 
class ObjectList
 

Detailed Description

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

ConstIterator of the object list.

Definition at line 300 of file otbObjectList.h.

Member Typedef Documentation

◆ InternalConstIteratorType

template<class TObject >
typedef InternalContainerType::const_iterator otb::ObjectList< TObject >::ConstIterator::InternalConstIteratorType

typedef of the internal iterator

Definition at line 306 of file otbObjectList.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/4]

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

Constructor

Definition at line 309 of file otbObjectList.h.

◆ ConstIterator() [2/4]

template<class TObject >
otb::ObjectList< TObject >::ConstIterator::ConstIterator ( InternalConstIteratorType  iter)
inline

Constructor with iternal iterator parameter

Definition at line 312 of file otbObjectList.h.

◆ ConstIterator() [3/4]

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

Copy operator.

Definition at line 381 of file otbObjectList.h.

◆ ConstIterator() [4/4]

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

Copy operator.

Definition at line 388 of file otbObjectList.h.

Member Function Documentation

◆ Get()

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

Get the current object.

Returns
The current object pointed by the iterator.

Definition at line 321 of file otbObjectList.h.

Referenced by otb::ImageFittingPolygonListFilter< TPath, TImage >::GenerateData().

◆ operator!=()

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

Difference comparison operator.

Definition at line 347 of file otbObjectList.h.

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

◆ operator++()

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

Increment.

Definition at line 329 of file otbObjectList.h.

◆ operator--()

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

Decrement.

Definition at line 338 of file otbObjectList.h.

◆ operator=() [1/2]

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

Instantiation operator.

Definition at line 363 of file otbObjectList.h.

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

◆ operator=() [2/2]

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

Instantiation operator.

Definition at line 372 of file otbObjectList.h.

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

◆ operator==()

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

Equality comparison operator.

Definition at line 355 of file otbObjectList.h.

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

Friends And Related Function Documentation

◆ Iterator

template<class TObject >
friend class Iterator
friend

Definition at line 304 of file otbObjectList.h.

◆ ObjectList

template<class TObject >
friend class ObjectList
friend

Definition at line 303 of file otbObjectList.h.

Member Data Documentation

◆ m_Iter

template<class TObject >
InternalConstIteratorType otb::ObjectList< TObject >::ConstIterator::m_Iter
private

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