SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | Private Attributes | Friends | List of all members
sutil::CMappedList< Idx, T >::iterator Class Reference

#include <CMappedList.hpp>

Inheritance diagram for sutil::CMappedList< Idx, T >::iterator:
Inheritance graph
[legend]
Collaboration diagram for sutil::CMappedList< Idx, T >::iterator:
Collaboration graph
[legend]

Public Member Functions

 iterator (const iterator &other)
 
 iterator (SMLNode< Idx, T > *node_ptr)
 
iteratoroperator= (const iterator &other)
 
bool operator== (const iterator &other)
 
bool operator!= (const iterator &other)
 
T & operator* ()
 
T * operator-> ()
 
Idx & operator! ()
 
iteratoroperator++ (int unused)
 
iteratoroperator++ ()
 
iterator operator+ (int offset)
 
iteratoroperator-- (int unused)
 
iteratoroperator-- ()
 
iterator operator- (int offset)
 

Private Attributes

SMLNode< Idx, T > * pos_
 

Friends

class const_iterator
 

Detailed Description

template<typename Idx, typename T>
class sutil::CMappedList< Idx, T >::iterator

An stl style iterator for CMappedList

Constructor & Destructor Documentation

template<typename Idx, typename T>
sutil::CMappedList< Idx, T >::iterator::iterator ( const iterator other)
inline

Explicit so that other iterators don't typecast into this one

Member Function Documentation

template<typename Idx, typename T>
iterator& sutil::CMappedList< Idx, T >::iterator::operator++ ( int  unused)
inline

Postfix x++. Note that its argument must be an int

template<typename Idx, typename T>
iterator& sutil::CMappedList< Idx, T >::iterator::operator++ ( )
inline

Prefix ++x

template<typename Idx, typename T>
iterator& sutil::CMappedList< Idx, T >::iterator::operator-- ( int  unused)
inline

Postfix x–. Note that its argument must be an int

template<typename Idx, typename T>
iterator& sutil::CMappedList< Idx, T >::iterator::operator-- ( )
inline

Prefix –x


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