OTB  6.7.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 (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.

/** Get the current internal iterator

InternalIteratorType& GetIter(void) { return (m_Iter); } private: Internal iterator. InternalIteratorType m_Iter; };

Definition at line 315 of file otbObjectList.h.

Member Typedef Documentation

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

typedef of the internal iterator

Definition at line 322 of file otbObjectList.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 325 of file otbObjectList.h.

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

Constructor with iternal iterator parameter

Definition at line 328 of file otbObjectList.h.

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

Copy operator.

Definition at line 397 of file otbObjectList.h.

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

Copy operator.

Definition at line 405 of file otbObjectList.h.

Member Function Documentation

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

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

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

Difference comparison operator.

Definition at line 363 of file otbObjectList.h.

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

Increment.

Definition at line 345 of file otbObjectList.h.

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

Decrement.

Definition at line 354 of file otbObjectList.h.

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

Instantiation operator.

Definition at line 379 of file otbObjectList.h.

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

Instantiation operator.

Definition at line 388 of file otbObjectList.h.

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

Equality comparison operator.

Definition at line 371 of file otbObjectList.h.

Friends And Related Function Documentation

template<class TObject>
friend class Iterator
friend

Definition at line 319 of file otbObjectList.h.

template<class TObject>
friend class ObjectList
friend

Definition at line 318 of file otbObjectList.h.

Member Data Documentation

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

Definition at line 408 of file otbObjectList.h.


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