cgma
|
#include <ManagedPtrVector.hpp>
Public Types | |
typedef iterator | this_type |
typedef X & | reference |
typedef size_t | size_type |
typedef size_t | difference_type |
Public Member Functions | |
iterator () | |
iterator (const this_type &rhs) | |
iterator (const typename ManagedPtrVector< X >::container_type::iterator &rhs) | |
~iterator () | |
X * | operator-> () |
reference | operator* () const |
bool | operator== (const this_type &rhs) const |
bool | operator!= (const this_type &rhs) const |
this_type & | operator++ () |
this_type | operator++ (int) |
this_type & | operator-- () |
this_type | operator-- (int) |
this_type | operator+ (difference_type n) |
this_type & | operator+= (difference_type n) |
this_type & | operator-= (difference_type n) |
reference | operator[] (difference_type i) const |
Private Attributes | |
ManagedPtrVector< X > ::container_type::iterator | mIter |
Definition at line 21 of file ManagedPtrVector.hpp.
typedef size_t ManagedPtrVector< X >::iterator::difference_type |
Definition at line 27 of file ManagedPtrVector.hpp.
typedef X& ManagedPtrVector< X >::iterator::reference |
Definition at line 25 of file ManagedPtrVector.hpp.
typedef size_t ManagedPtrVector< X >::iterator::size_type |
Definition at line 26 of file ManagedPtrVector.hpp.
typedef iterator ManagedPtrVector< X >::iterator::this_type |
Definition at line 24 of file ManagedPtrVector.hpp.
ManagedPtrVector< X >::iterator::iterator | ( | ) | [inline] |
Definition at line 29 of file ManagedPtrVector.hpp.
{}
ManagedPtrVector< X >::iterator::iterator | ( | const this_type & | rhs | ) | [inline] |
Definition at line 31 of file ManagedPtrVector.hpp.
:mIter(rhs.mIter) {}
ManagedPtrVector< X >::iterator::iterator | ( | const typename ManagedPtrVector< X >::container_type::iterator & | rhs | ) | [inline] |
Definition at line 34 of file ManagedPtrVector.hpp.
: mIter(rhs) {}
ManagedPtrVector< X >::iterator::~iterator | ( | ) | [inline] |
Definition at line 37 of file ManagedPtrVector.hpp.
{}
bool ManagedPtrVector< X >::iterator::operator!= | ( | const this_type & | rhs | ) | const [inline] |
Definition at line 47 of file ManagedPtrVector.hpp.
{ return this->mIter != rhs.mIter; }
reference ManagedPtrVector< X >::iterator::operator* | ( | ) | const [inline] |
Definition at line 42 of file ManagedPtrVector.hpp.
{ return **mIter; }
this_type ManagedPtrVector< X >::iterator::operator+ | ( | difference_type | n | ) | [inline] |
Definition at line 76 of file ManagedPtrVector.hpp.
{ this_type rv = *this; rv += n; return rv; }
this_type& ManagedPtrVector< X >::iterator::operator++ | ( | ) | [inline] |
Definition at line 50 of file ManagedPtrVector.hpp.
{ ++mIter; return *this; }
this_type ManagedPtrVector< X >::iterator::operator++ | ( | int | ) | [inline] |
Definition at line 56 of file ManagedPtrVector.hpp.
this_type& ManagedPtrVector< X >::iterator::operator+= | ( | difference_type | n | ) | [inline] |
Definition at line 83 of file ManagedPtrVector.hpp.
{ mIter += n; return *this; }
this_type& ManagedPtrVector< X >::iterator::operator-- | ( | ) | [inline] |
Definition at line 63 of file ManagedPtrVector.hpp.
{ --mIter; return *this; }
this_type ManagedPtrVector< X >::iterator::operator-- | ( | int | ) | [inline] |
Definition at line 69 of file ManagedPtrVector.hpp.
this_type& ManagedPtrVector< X >::iterator::operator-= | ( | difference_type | n | ) | [inline] |
Definition at line 89 of file ManagedPtrVector.hpp.
{ mIter -= n; return *this; }
X* ManagedPtrVector< X >::iterator::operator-> | ( | ) | [inline] |
Definition at line 40 of file ManagedPtrVector.hpp.
{ return *mIter; }
bool ManagedPtrVector< X >::iterator::operator== | ( | const this_type & | rhs | ) | const [inline] |
Definition at line 45 of file ManagedPtrVector.hpp.
{ return this->mIter == rhs.mIter; }
reference ManagedPtrVector< X >::iterator::operator[] | ( | difference_type | i | ) | const [inline] |
Definition at line 95 of file ManagedPtrVector.hpp.
ManagedPtrVector<X>::container_type::iterator ManagedPtrVector< X >::iterator::mIter [private] |
Definition at line 101 of file ManagedPtrVector.hpp.