Public Member Functions | Protected Attributes

frepple::utils::TimeLine< type >::const_iterator Class Reference

This is bi-directional iterator through the timeline. More...

#include <timeline.h>

Inheritance diagram for frepple::utils::TimeLine< type >::const_iterator:
frepple::utils::TimeLine< type >::iterator

List of all members.

Public Member Functions

 const_iterator ()
 const_iterator (const Event *e)
 const_iterator (const iterator &c)
bool operator!= (const const_iterator &x) const
const Eventoperator* () const
const_iterator operator++ (int)
const_iteratoroperator++ ()
const_iteratoroperator-- ()
const_iterator operator-- (int)
const Eventoperator-> () const
bool operator== (const const_iterator &x) const

Protected Attributes

const Eventcur

Detailed Description

template<class type>
class frepple::utils::TimeLine< type >::const_iterator

This is bi-directional iterator through the timeline.

It looks a bit STL-compliant, but this is only superficially. The class doesn't meet all requirements for a full STL-compliant iterator.

Definition at line 200 of file timeline.h.


Constructor & Destructor Documentation

template<class type>
frepple::utils::TimeLine< type >::const_iterator::const_iterator (  )  [inline]

Definition at line 205 of file timeline.h.

template<class type>
frepple::utils::TimeLine< type >::const_iterator::const_iterator ( const Event e  )  [inline]

Definition at line 206 of file timeline.h.

template<class type>
frepple::utils::TimeLine< type >::const_iterator::const_iterator ( const iterator c  )  [inline]

Definition at line 207 of file timeline.h.


Member Function Documentation

template<class type>
bool frepple::utils::TimeLine< type >::const_iterator::operator!= ( const const_iterator x  )  const [inline]

Definition at line 217 of file timeline.h.

template<class type>
const Event& frepple::utils::TimeLine< type >::const_iterator::operator* (  )  const [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 208 of file timeline.h.

template<class type>
const_iterator frepple::utils::TimeLine< type >::const_iterator::operator++ ( int   )  [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 211 of file timeline.h.

template<class type>
const_iterator& frepple::utils::TimeLine< type >::const_iterator::operator++ (  )  [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 210 of file timeline.h.

template<class type>
const_iterator& frepple::utils::TimeLine< type >::const_iterator::operator-- (  )  [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 213 of file timeline.h.

template<class type>
const_iterator frepple::utils::TimeLine< type >::const_iterator::operator-- ( int   )  [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 214 of file timeline.h.

template<class type>
const Event* frepple::utils::TimeLine< type >::const_iterator::operator-> (  )  const [inline]

Reimplemented in frepple::utils::TimeLine< type >::iterator.

Definition at line 209 of file timeline.h.

template<class type>
bool frepple::utils::TimeLine< type >::const_iterator::operator== ( const const_iterator x  )  const [inline]

Definition at line 216 of file timeline.h.


Member Data Documentation

template<class type>
const Event* frepple::utils::TimeLine< type >::const_iterator::cur [protected]

Definition at line 203 of file timeline.h.


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