|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbObjectList_h
22 #define otbObjectList_h
25 #include "itkDataObject.h"
27 #include "itkObjectFactory.h"
39 template <
class TObject>
102 void SetNthElement(
unsigned int index,
const ObjectType* element);
115 Superclass* GetNthDataObject(
unsigned int index)
const override;
133 void Erase(
unsigned int index);
141 class ReverseIterator;
142 class ReverseConstIterator;
144 friend class Iterator;
145 friend class ConstIterator;
146 friend class ReverseIterator;
147 friend class ReverseConstIterator;
256 return (m_Iter != it.
m_Iter);
264 return (m_Iter == it.
m_Iter);
349 return (m_Iter != it.
m_Iter);
357 return (m_Iter == it.
m_Iter);
394 InternalConstIteratorType m_Iter;
459 return (m_Iter != it.
m_Iter);
467 return (m_Iter == it.
m_Iter);
553 return (m_Iter != it.
m_Iter);
561 return (m_Iter == it.
m_Iter);
600 InternalReverseConstIteratorType m_Iter;
606 Iterator Begin(
void);
612 ConstIterator Begin(
void)
const;
618 ReverseIterator ReverseBegin(
void);
624 ReverseConstIterator ReverseBegin(
void)
const;
636 ConstIterator End(
void)
const;
642 ReverseIterator ReverseEnd(
void);
648 ReverseConstIterator ReverseEnd(
void)
const;
655 void Erase(Iterator begin, Iterator end);
661 void Erase(Iterator loc);
673 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
677 void operator=(
const Self&) =
delete;
683 #ifndef OTB_MANUAL_INSTANTIATION
bool operator==(const ReverseConstIterator &it)
itk::SmartPointer< ObjectType > ObjectPointerType
bool operator!=(const ConstIterator &it)
ReverseConstIterator & operator=(const ReverseConstIterator &it)
ReverseIterator(const ReverseIterator &it)
ObjectPointerType Get(void)
Iterator operator+=(int i)
bool operator==(const ReverseIterator &it)
InternalContainerType::iterator InternalIteratorType
ObjectPointerType Get(void)
void Set(ObjectPointerType element)
ReverseConstIterator of the object list.
InternalContainerType::const_reverse_iterator InternalReverseConstIteratorType
ReverseConstIterator(InternalReverseConstIteratorType iter)
ConstIterator(const ConstIterator &it)
bool operator!=(const Iterator &it)
InternalIteratorType & GetIter(void)
InternalIteratorType m_Iter
Iterator operator-(int i)
InternalContainerType::const_iterator InternalConstIteratorType
ConstIterator of the object list.
ConstIterator(InternalConstIteratorType iter)
ObjectPointerType Get(void)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
bool operator!=(const ReverseConstIterator &it)
ReverseIterator(InternalReverseIteratorType iter)
InternalContainerType::reverse_iterator InternalReverseIteratorType
itk::DataObject Superclass
Iterator & operator=(const Iterator &it)
itk::SmartPointer< Self > Pointer
ReverseIterator & operator=(const ReverseIterator &it)
InternalConstIteratorType m_Iter
Iterator operator-=(int i)
ConstIterator & operator=(const Iterator &it)
ConstIterator & operator++()
InternalReverseConstIteratorType m_Iter
Iterator operator+(int i)
ReverseConstIterator(const ReverseIterator &it)
ReverseConstIterator & operator++()
ReverseConstIterator & operator=(const ReverseIterator &it)
bool operator==(const ConstIterator &it)
InternalContainerType::size_type InternalContainerSizeType
ReverseIterator of the object list.
ReverseIterator & operator--()
ObjectPointerType Get(void)
This class is a sampling rate calculator.
Iterator of the object list.
ConstIterator(const Iterator &it)
std::vector< ObjectPointerType > InternalContainerType
itk::SmartPointer< const Self > ConstPointer
InternalReverseIteratorType m_Iter
void Set(ObjectPointerType element)
InternalContainerType m_InternalContainer
Iterator(InternalIteratorType iter)
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
InternalReverseIteratorType & GetIter(void)
ConstIterator & operator=(const ConstIterator &it)
ReverseIterator & operator++()
ReverseConstIterator(const ReverseConstIterator &it)
bool operator!=(const ReverseIterator &it)
Iterator(const Iterator &it)
ReverseConstIterator & operator--()
bool operator==(const Iterator &it)
ConstIterator & operator--()