EMAN::Dict::const_iterator Class Reference

Const iterator support for the Dict object This is just a wrapper, everything is inherited from the map<string,EMObject>::cons_iterator so the interface is the same as you would expect i.e for ( Dict::const_iterator it = params.begin(); it != params.end(); ++it ). More...

#include <emobject.h>

List of all members.

Public Types

typedef std::bidirectional_iterator_tag iterator_category
typedef pair< string, EMObjectvalue_type

Public Member Functions

 const_iterator (const map< string, EMObject >::const_iterator parent_it)
virtual ~const_iterator ()
 const_iterator (const Dict::iterator &it)
 const_iterator (const const_iterator &that)
const_iteratoroperator= (const const_iterator &that)


Detailed Description

Const iterator support for the Dict object This is just a wrapper, everything is inherited from the map<string,EMObject>::cons_iterator so the interface is the same as you would expect i.e for ( Dict::const_iterator it = params.begin(); it != params.end(); ++it ).

Author:
David Woolford
Date:
Mid 2007

Definition at line 663 of file emobject.h.


Member Typedef Documentation

typedef std::bidirectional_iterator_tag EMAN::Dict::const_iterator::iterator_category

Definition at line 666 of file emobject.h.

typedef pair<string, EMObject> EMAN::Dict::const_iterator::value_type

Definition at line 667 of file emobject.h.


Constructor & Destructor Documentation

Dict::const_iterator::const_iterator ( const map< string, EMObject >::const_iterator  parent_it  ) 

Definition at line 1168 of file emobject.cpp.

01168                                                                                             :
01169         map< string, EMObject >::const_iterator( parent_it )
01170 {
01171 }

virtual EMAN::Dict::const_iterator::~const_iterator (  )  [inline, virtual]

Definition at line 670 of file emobject.h.

00670 {}

Dict::const_iterator::const_iterator ( const Dict::iterator it  ) 

Definition at line 1173 of file emobject.cpp.

01173                                                            :
01174         map< string, EMObject >::const_iterator(it)
01175 {
01176 }

Dict::const_iterator::const_iterator ( const const_iterator that  ) 

Definition at line 1178 of file emobject.cpp.

01178                                                              :
01179         map< string, EMObject >::const_iterator(it)
01180 {
01181 }


Member Function Documentation

Dict::const_iterator & Dict::const_iterator::operator= ( const const_iterator that  ) 

Definition at line 1183 of file emobject.cpp.

01184 {
01185         if( this != &that )
01186         {
01187                 map < string, EMObject >::const_iterator::operator=( that );
01188         }
01189         return *this;
01190 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 12:43:05 2013 for EMAN2 by  doxygen 1.4.7