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


Member Typedef Documentation

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

Definition at line 657 of file emobject.h.

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

Definition at line 658 of file emobject.h.


Constructor & Destructor Documentation

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

Definition at line 1077 of file emobject.cpp.

01077                                                                                             :
01078         map< string, EMObject >::const_iterator( parent_it )
01079 {
01080 }

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

Definition at line 661 of file emobject.h.

00661 {}

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

Definition at line 1082 of file emobject.cpp.

01082                                                            :
01083         map< string, EMObject >::const_iterator(it)
01084 {
01085 }

Dict::const_iterator::const_iterator const const_iterator that  ) 
 

Definition at line 1087 of file emobject.cpp.

01087                                                              :
01088         map< string, EMObject >::const_iterator(it)
01089 {
01090 }


Member Function Documentation

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

Definition at line 1092 of file emobject.cpp.

01093 {
01094         if( this != &that )
01095         {
01096                 map < string, EMObject >::const_iterator::operator=( that );
01097         }
01098         return *this;
01099 }


The documentation for this class was generated from the following files:
Generated on Mon Jul 19 13:06:03 2010 for EMAN2 by  doxygen 1.4.4