Py::MapBase< T >::iterator Class Reference

#include <Objects.hxx>

List of all members.

Public Member Functions

std::string diagnose () const
bool eql (const iterator &right) const
 iterator (const iterator &other)
 iterator (MapBase< T > *m, bool end=false)
 iterator ()
bool neq (const iterator &right) const
reference operator* ()
iterator operator++ (int)
iteratoroperator++ ()
iterator operator-- (int)
iteratoroperator-- ()
iteratoroperator= (const iterator &other)
 ~iterator ()

Protected Types

typedef int difference_type
typedef std::forward_iterator_tag iterator_category
typedef std::pair< const T,
mapref< T > > 
pointer
typedef std::pair< const T,
mapref< T > > 
reference
typedef std::pair< const T, T > value_type

Protected Attributes

List keys
MapBase< T > * map
int pos

Friends

class MapBase< T >

Detailed Description

template<TEMPLATE_TYPENAME T>
class Py::MapBase< T >::iterator

Definition at line 2945 of file Python2/Objects.hxx.


Member Typedef Documentation

template<TEMPLATE_TYPENAME T>
typedef int Py::MapBase< T >::iterator::difference_type [protected]

Definition at line 2951 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
typedef std::forward_iterator_tag Py::MapBase< T >::iterator::iterator_category [protected]

Definition at line 2949 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
typedef std::pair< const T, mapref<T> > Py::MapBase< T >::iterator::pointer [protected]

Definition at line 2952 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
typedef std::pair< const T, mapref<T> > Py::MapBase< T >::iterator::reference [protected]

Definition at line 2953 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
typedef std::pair< const T, T > Py::MapBase< T >::iterator::value_type [protected]

Definition at line 2950 of file Python2/Objects.hxx.


Constructor & Destructor Documentation

template<TEMPLATE_TYPENAME T>
Py::MapBase< T >::iterator::~iterator (  )  [inline]

Definition at line 2969 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Py::MapBase< T >::iterator::iterator (  )  [inline]

Definition at line 2972 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Py::MapBase< T >::iterator::iterator ( MapBase< T > *  m,
bool  end = false 
) [inline]

Definition at line 2978 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Py::MapBase< T >::iterator::iterator ( const iterator other  )  [inline]

Definition at line 2984 of file Python2/Objects.hxx.


Member Function Documentation

template<TEMPLATE_TYPENAME T>
std::string Py::MapBase< T >::iterator::diagnose (  )  const [inline]

Definition at line 3032 of file Python2/Objects.hxx.

References OSTRSTREAM, and RobotExample::pos.

template<TEMPLATE_TYPENAME T>
bool Py::MapBase< T >::iterator::eql ( const iterator right  )  const [inline]
template<TEMPLATE_TYPENAME T>
bool Py::MapBase< T >::iterator::neq ( const iterator right  )  const [inline]
template<TEMPLATE_TYPENAME T>
reference Py::MapBase< T >::iterator::operator* (  )  [inline]

Definition at line 2990 of file Python2/Objects.hxx.

References RobotExample::pos.

template<TEMPLATE_TYPENAME T>
iterator Py::MapBase< T >::iterator::operator++ ( int   )  [inline]

Definition at line 3023 of file Python2/Objects.hxx.

References RobotExample::pos.

template<TEMPLATE_TYPENAME T>
iterator& Py::MapBase< T >::iterator::operator++ (  )  [inline]

Definition at line 3020 of file Python2/Objects.hxx.

References RobotExample::pos.

template<TEMPLATE_TYPENAME T>
iterator Py::MapBase< T >::iterator::operator-- ( int   )  [inline]

Definition at line 3029 of file Python2/Objects.hxx.

References RobotExample::pos.

template<TEMPLATE_TYPENAME T>
iterator& Py::MapBase< T >::iterator::operator-- (  )  [inline]

Definition at line 3026 of file Python2/Objects.hxx.

References RobotExample::pos.

template<TEMPLATE_TYPENAME T>
iterator& Py::MapBase< T >::iterator::operator= ( const iterator other  )  [inline]

Friends And Related Function Documentation

template<TEMPLATE_TYPENAME T>
friend class MapBase< T > [friend]

Definition at line 2955 of file Python2/Objects.hxx.


Member Data Documentation

template<TEMPLATE_TYPENAME T>
List Py::MapBase< T >::iterator::keys [protected]

Definition at line 2958 of file Python2/Objects.hxx.

Referenced by Py::MapBase< T >::iterator::operator=().

template<TEMPLATE_TYPENAME T>
MapBase<T>* Py::MapBase< T >::iterator::map [protected]
template<TEMPLATE_TYPENAME T>
int Py::MapBase< T >::iterator::pos [protected]

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

Generated on Wed Nov 23 19:02:44 2011 for FreeCAD by  doxygen 1.6.1