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

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


Member Typedef Documentation

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

Definition at line 654 of file emobject.h.

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

Definition at line 655 of file emobject.h.


Constructor & Destructor Documentation

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

Definition at line 973 of file emobject.cpp.

00973                                                                                             :
00974         map< string, EMObject >::const_iterator( parent_it )
00975 {
00976 }

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

Definition at line 658 of file emobject.h.

00658 {}

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

Definition at line 978 of file emobject.cpp.

00978                                                            :
00979         map< string, EMObject >::const_iterator(it)
00980 {
00981 }

Dict::const_iterator::const_iterator const const_iterator that  ) 
 

Definition at line 983 of file emobject.cpp.

00983                                                              :
00984         map< string, EMObject >::const_iterator(it)
00985 {
00986 }


Member Function Documentation

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

Definition at line 988 of file emobject.cpp.

00989 {
00990         if( this != &that )
00991         {
00992                 map < string, EMObject >::const_iterator::operator=( that );
00993         }
00994         return *this;
00995 }


The documentation for this class was generated from the following files:
Generated on Tue May 25 17:36:28 2010 for EMAN2 by  doxygen 1.4.4