anatomist  5.1.2
3D neuroimaging data viewer
anatomist::AIterator Class Reference

Multi-object generic iterator. More...

#include <anatomist/mobject/MObject.h>

Collaboration diagram for anatomist::AIterator:

Public Types

typedef void datatype
 Data storage type, to be redefined by children classes. More...
 

Public Member Functions

 AIterator ()
 
 AIterator (const AIterator &)
 
 AIterator (BaseIterator *)
 
 ~AIterator ()
 
AIteratoroperator= (const AIterator &)
 
bool operator== (const AIterator &) const
 
bool operator!= (const AIterator &) const
 
AIteratoroperator++ ()
 
AIterator operator++ (int)
 
AIteratoroperator-- ()
 
AIterator operator-- (int)
 
AObjectoperator* () const
 
BaseIteratorsubIterator ()
 

Protected Attributes

BaseIterator_iterator
 Underlying specific iterator. More...
 

Detailed Description

Multi-object generic iterator.

Definition at line 114 of file MObject.h.

Member Typedef Documentation

◆ datatype

Data storage type, to be redefined by children classes.

Definition at line 133 of file MObject.h.

Constructor & Destructor Documentation

◆ AIterator() [1/3]

anatomist::AIterator::AIterator ( )
inline

Definition at line 141 of file MObject.h.

◆ AIterator() [2/3]

anatomist::AIterator::AIterator ( const AIterator x)
inline

Definition at line 147 of file MObject.h.

◆ AIterator() [3/3]

anatomist::AIterator::AIterator ( BaseIterator i)
inline

Definition at line 153 of file MObject.h.

◆ ~AIterator()

anatomist::AIterator::~AIterator ( )
inline

Definition at line 159 of file MObject.h.

References _iterator.

Member Function Documentation

◆ operator!=()

bool anatomist::AIterator::operator!= ( const AIterator i) const
inline

Definition at line 184 of file MObject.h.

References _iterator.

◆ operator*()

AObject * anatomist::AIterator::operator* ( ) const
inline

Definition at line 226 of file MObject.h.

References _iterator.

◆ operator++() [1/2]

AIterator & anatomist::AIterator::operator++ ( )
inline

Definition at line 191 of file MObject.h.

References _iterator.

◆ operator++() [2/2]

AIterator anatomist::AIterator::operator++ ( int  )
inline

Definition at line 199 of file MObject.h.

References _iterator, and anatomist::BaseIterator::clone().

◆ operator--() [1/2]

AIterator & anatomist::AIterator::operator-- ( )
inline

Definition at line 209 of file MObject.h.

References _iterator.

◆ operator--() [2/2]

AIterator anatomist::AIterator::operator-- ( int  )
inline

Definition at line 217 of file MObject.h.

References _iterator, and anatomist::BaseIterator::clone().

◆ operator=()

AIterator & anatomist::AIterator::operator= ( const AIterator i)
inline

Definition at line 166 of file MObject.h.

References _iterator, and anatomist::BaseIterator::clone().

◆ operator==()

bool anatomist::AIterator::operator== ( const AIterator i) const
inline

Definition at line 176 of file MObject.h.

References _iterator.

◆ subIterator()

BaseIterator& anatomist::AIterator::subIterator ( )
inline

Definition at line 130 of file MObject.h.

References _iterator.

Referenced by anatomist::ObjectList::erase().

Member Data Documentation

◆ _iterator

BaseIterator* anatomist::AIterator::_iterator
protected

Underlying specific iterator.

Definition at line 137 of file MObject.h.

Referenced by operator!=(), operator*(), operator++(), operator--(), operator=(), operator==(), subIterator(), and ~AIterator().


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