Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EMAN::Dict::iterator Class Reference

Non const iterator support for the Dict object This is just a wrapper, everything is inherited from the map<string,EMObject>::iterator so the interface is the same as you would expect i.e for ( Dict::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

 iterator (map< string, EMObject >::iterator parent_it)
virtual ~iterator ()
 iterator (const iterator &that)
iteratoroperator= (const iterator &that)


Detailed Description

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

Author:
David Woolford
Date:
Mid 2007

Definition at line 642 of file emobject.h.


Member Typedef Documentation

typedef std::bidirectional_iterator_tag EMAN::Dict::iterator::iterator_category
 

Definition at line 645 of file emobject.h.

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

Definition at line 646 of file emobject.h.


Constructor & Destructor Documentation

Dict::iterator::iterator map< string, EMObject >::iterator  parent_it  ) 
 

Definition at line 1143 of file emobject.cpp.

01143                                                                    :
01144         map< string, EMObject >::iterator( parent_it )
01145 {
01146 }

virtual EMAN::Dict::iterator::~iterator  )  [inline, virtual]
 

Definition at line 650 of file emobject.h.

00650 {}

Dict::iterator::iterator const iterator that  ) 
 

Definition at line 1149 of file emobject.cpp.

01149                                              :
01150         map < string, EMObject >::iterator( that )
01151 {
01152 }


Member Function Documentation

Dict::iterator & Dict::iterator::operator= const iterator that  ) 
 

Definition at line 1155 of file emobject.cpp.

01156 {
01157         if( this != &that )
01158         {
01159                 map < string, EMObject >::iterator::operator=( that );
01160         }
01161         return *this;
01162 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 13:42:01 2013 for EMAN2 by  doxygen 1.3.9.1