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 650 of file emobject.h.


Member Typedef Documentation

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

Definition at line 653 of file emobject.h.

Definition at line 654 of file emobject.h.


Constructor & Destructor Documentation

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

Definition at line 1003 of file emobject.cpp.

01003                                                                                             :
01004         map< string, EMObject >::const_iterator( parent_it )
01005 {
01006 }

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

Definition at line 657 of file emobject.h.

00657 {}

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

Definition at line 1008 of file emobject.cpp.

01008                                                            :
01009         map< string, EMObject >::const_iterator(it)
01010 {
01011 }

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

Definition at line 1013 of file emobject.cpp.

01013                                                              :
01014         map< string, EMObject >::const_iterator(it)
01015 {
01016 }


Member Function Documentation

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

Definition at line 1018 of file emobject.cpp.

01019 {
01020         if( this != &that )
01021         {
01022                 map < string, EMObject >::const_iterator::operator=( that );
01023         }
01024         return *this;
01025 }


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

Generated on Sat Nov 21 02:20:19 2009 for EMAN2 by  doxygen 1.5.6