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

#include <otbObjectList.h>

Public Types

typedef InternalContainerType::const_iterator InternalConstIteratorType
 

Public Member Functions

 ConstIterator ()
 
 ConstIterator (InternalConstIteratorType iter)
 
 ConstIterator (const ConstIterator &it)
 
 ConstIterator (const Iterator &it)
 
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 302 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 308 of file otbObjectList.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/4]

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

Constructor

Definition at line 311 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 314 of file otbObjectList.h.

◆ ConstIterator() [3/4]

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

Copy operator.

Definition at line 383 of file otbObjectList.h.

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

◆ ConstIterator() [4/4]

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

Copy operator.

Definition at line 391 of file otbObjectList.h.

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

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 323 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 349 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 331 of file otbObjectList.h.

◆ operator--()

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

Decrement.

Definition at line 340 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 365 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 374 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 357 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 306 of file otbObjectList.h.

◆ ObjectList

template<class TObject>
friend class ObjectList
friend

Definition at line 305 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: