EMAN2
Public Types | Public Member Functions
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 678 of file emobject.h.


Member Typedef Documentation

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

Definition at line 681 of file emobject.h.

Definition at line 682 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.

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

Definition at line 685 of file emobject.h.

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

Definition at line 1173 of file emobject.cpp.

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

Definition at line 1178 of file emobject.cpp.


Member Function Documentation

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

Definition at line 1183 of file emobject.cpp.

{
        if( this != &that )
        {
                map < string, EMObject >::const_iterator::operator=( that );
        }
        return *this;
}

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