|
reSIProcate/stack
9694
|
A const_iterator class, derived from std::iterator (bidirectional) More...
#include <ParserContainer.hxx>

Public Member Functions | |
| const_iterator (Parsers::const_iterator i, const ParserContainer *ref) | |
| const_iterator (const const_iterator &orig) | |
| const_iterator (const iterator &orig) | |
| const_iterator () | |
| const_iterator | operator++ () |
| const_iterator | operator++ (int) |
| const_iterator | operator-- () |
| const_iterator | operator-- (int) |
| bool | operator!= (const const_iterator &rhs) |
| bool | operator== (const const_iterator &rhs) |
| bool | operator!= (const iterator &rhs) |
| bool | operator== (const iterator &rhs) |
| const_iterator & | operator= (const const_iterator &rhs) |
| const_iterator & | operator= (const iterator &rhs) |
| const T & | operator* () |
| const T * | operator-> () |
Private Attributes | |
| Parsers::const_iterator | mIt |
| const ParserContainer * | mRef |
Friends | |
| class | iterator |
A const_iterator class, derived from std::iterator (bidirectional)
Definition at line 203 of file ParserContainer.hxx.
| resip::ParserContainer< T >::const_iterator::const_iterator | ( | Parsers::const_iterator | i, |
| const ParserContainer * | ref | ||
| ) | [inline] |
Definition at line 206 of file ParserContainer.hxx.
| resip::ParserContainer< T >::const_iterator::const_iterator | ( | const const_iterator & | orig | ) | [inline] |
Definition at line 207 of file ParserContainer.hxx.
| resip::ParserContainer< T >::const_iterator::const_iterator | ( | const iterator & | orig | ) | [inline] |
Definition at line 208 of file ParserContainer.hxx.
| resip::ParserContainer< T >::const_iterator::const_iterator | ( | ) | [inline] |
Definition at line 209 of file ParserContainer.hxx.
: mRef(0) {}
| bool resip::ParserContainer< T >::const_iterator::operator!= | ( | const const_iterator & | rhs | ) | [inline] |
Definition at line 215 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt.
{ return mIt != rhs.mIt; }
| bool resip::ParserContainer< T >::const_iterator::operator!= | ( | const iterator & | rhs | ) | [inline] |
Definition at line 217 of file ParserContainer.hxx.
References resip::ParserContainer< T >::iterator::mIt, and resip::ParserContainer< T >::const_iterator::mIt.
{ return mIt != rhs.mIt; }
| const T& resip::ParserContainer< T >::const_iterator::operator* | ( | ) | [inline] |
Definition at line 231 of file ParserContainer.hxx.
References resip::ParserContainer< T >::ensureInitialized(), resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{return ensureInitialized(*mIt,mRef);}

| const_iterator resip::ParserContainer< T >::const_iterator::operator++ | ( | ) | [inline] |
Definition at line 211 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{const_iterator it(++mIt,mRef); return it;}
| const_iterator resip::ParserContainer< T >::const_iterator::operator++ | ( | int | ) | [inline] |
Definition at line 212 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{const_iterator it(mIt++,mRef); return it;}
| const_iterator resip::ParserContainer< T >::const_iterator::operator-- | ( | ) | [inline] |
Definition at line 213 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{const_iterator it(--mIt,mRef); return it;}
| const_iterator resip::ParserContainer< T >::const_iterator::operator-- | ( | int | ) | [inline] |
Definition at line 214 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{const_iterator it(mIt--,mRef); return it;}
| const T* resip::ParserContainer< T >::const_iterator::operator-> | ( | ) | [inline] |
Definition at line 232 of file ParserContainer.hxx.
References resip::ParserContainer< T >::ensureInitialized(), resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
{return &ensureInitialized(*mIt,mRef);}

| const_iterator& resip::ParserContainer< T >::const_iterator::operator= | ( | const const_iterator & | rhs | ) | [inline] |
Definition at line 219 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt, and resip::ParserContainer< T >::const_iterator::mRef.
| const_iterator& resip::ParserContainer< T >::const_iterator::operator= | ( | const iterator & | rhs | ) | [inline] |
Definition at line 225 of file ParserContainer.hxx.
References resip::ParserContainer< T >::iterator::mIt, resip::ParserContainer< T >::const_iterator::mIt, resip::ParserContainer< T >::iterator::mRef, and resip::ParserContainer< T >::const_iterator::mRef.
| bool resip::ParserContainer< T >::const_iterator::operator== | ( | const const_iterator & | rhs | ) | [inline] |
Definition at line 216 of file ParserContainer.hxx.
References resip::ParserContainer< T >::const_iterator::mIt.
{ return mIt == rhs.mIt; }
| bool resip::ParserContainer< T >::const_iterator::operator== | ( | const iterator & | rhs | ) | [inline] |
Definition at line 218 of file ParserContainer.hxx.
References resip::ParserContainer< T >::iterator::mIt, and resip::ParserContainer< T >::const_iterator::mIt.
{ return mIt == rhs.mIt; }
friend class iterator [friend] |
Definition at line 234 of file ParserContainer.hxx.
Parsers::const_iterator resip::ParserContainer< T >::const_iterator::mIt [private] |
Definition at line 235 of file ParserContainer.hxx.
Referenced by resip::ParserContainer< T >::iterator::operator!=(), resip::ParserContainer< T >::const_iterator::operator!=(), resip::ParserContainer< T >::const_iterator::operator*(), resip::ParserContainer< T >::const_iterator::operator++(), resip::ParserContainer< T >::const_iterator::operator--(), resip::ParserContainer< T >::const_iterator::operator->(), resip::ParserContainer< T >::const_iterator::operator=(), resip::ParserContainer< T >::iterator::operator==(), and resip::ParserContainer< T >::const_iterator::operator==().
const ParserContainer* resip::ParserContainer< T >::const_iterator::mRef [private] |
Definition at line 236 of file ParserContainer.hxx.
Referenced by resip::ParserContainer< T >::const_iterator::operator*(), resip::ParserContainer< T >::const_iterator::operator++(), resip::ParserContainer< T >::const_iterator::operator--(), resip::ParserContainer< T >::const_iterator::operator->(), and resip::ParserContainer< T >::const_iterator::operator=().
1.7.5.1