pcce::PropertyBag::const_iterator Class Reference

#include <PropertyBag.h>

List of all members.

Public Member Functions

 const_iterator (tPropertyMap::const_iterator iter)
 ~const_iterator ()
const_iteratoroperator= (const const_iterator &other)
bool operator== (const const_iterator &other)
bool operator!= (const const_iterator &other)
const_iteratoroperator++ ()
const std::string & first ()
const Variantsecond ()

Private Attributes

tPropertyMap::const_iterator mMapIter


Detailed Description

Definition at line 83 of file PropertyBag.h.


Constructor & Destructor Documentation

PropertyBag::const_iterator::const_iterator ( tPropertyMap::const_iterator  iter  ) 

Definition at line 159 of file PropertyBag.cpp.

References mMapIter.

00159                                                                          {
00160   mMapIter = iter;
00161 }

PropertyBag::const_iterator::~const_iterator (  ) 

Definition at line 162 of file PropertyBag.cpp.

00162 {}


Member Function Documentation

PropertyBag::const_iterator & PropertyBag::const_iterator::operator= ( const const_iterator other  ) 

Definition at line 165 of file PropertyBag.cpp.

References mMapIter.

00165                                                                                            {
00166   mMapIter = other.mMapIter;
00167   return(*this);
00168 }

bool PropertyBag::const_iterator::operator== ( const const_iterator other  ) 

Definition at line 170 of file PropertyBag.cpp.

References mMapIter.

00170                                                                       {
00171   return (mMapIter == other.mMapIter);
00172 }

bool PropertyBag::const_iterator::operator!= ( const const_iterator other  ) 

Definition at line 174 of file PropertyBag.cpp.

References mMapIter.

00174                                                                       {
00175   return (mMapIter != other.mMapIter);
00176 }

PropertyBag::const_iterator & PropertyBag::const_iterator::operator++ (  ) 

Definition at line 179 of file PropertyBag.cpp.

References mMapIter.

00179                                                                  {
00180   mMapIter++;
00181   return (*this);
00182 }

const std::string & PropertyBag::const_iterator::first (  ) 

Definition at line 184 of file PropertyBag.cpp.

00184                                                   {
00185   return (*mMapIter).first;
00186 }

const Variant & PropertyBag::const_iterator::second (  ) 

Definition at line 188 of file PropertyBag.cpp.

00188                                                  {
00189   return (*mMapIter).second;
00190 }


Member Data Documentation

tPropertyMap::const_iterator pcce::PropertyBag::const_iterator::mMapIter [private]

Definition at line 103 of file PropertyBag.h.

Referenced by const_iterator(), operator!=(), operator++(), operator=(), and operator==().


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

Generated on Thu Mar 6 11:39:28 2008 for Protocce by  doxygen 1.5.5