In file Iterator.hh:

class ConstIterator

Defines a const event iterator

Inheritance:


Public Methods

[more] ConstIterator ()
Constructs an NULL event iterator
[more] ConstIterator (const IteratorImp& imp)
Constructor
[more] ConstIterator (const ConstIterator& i)
Copy constructor
[more] ConstIterator (const Iterator& i)
Convert from non-const
[more] ~ConstIterator ()
Destructor
[more]ConstIterator& operator= (const ConstIterator& i)
Assignment opetator
[more]ConstIterator& operator= (const Iterator& i)
Assignment opetator
[more]bool operator== (const ConstIterator& i) const
Equality operator
[more]bool operator!= (const ConstIterator& i) const
Inequality operator
[more]ConstIterator& operator++ ()
Increment operator (prefix)
[more]ConstIterator operator++ (int)
Increment operator (postfix)
[more]ConstIterator& operator-- ()
Decrement operator (prefix)
[more]ConstIterator operator-- (int)
Decrement operator (postfix)
[more]ConstIterator operator+ (int delta) const
Plus operator
[more]ConstIterator operator- (int delta) const
Minus operator
[more]reference operator* () const
Dereference operator
[more]pointer operator-> () const
Pointer operator
[more]const IteratorImp* GetImplementation () const
Get implementation


Documentation

A constant event iterator.

o ConstIterator()
Creates an NULL event iterator.
Returns:
Default onstructor

o ConstIterator(const IteratorImp& imp)
Creates iterator based on an implementation

o ConstIterator(const ConstIterator& i)
Copy constuctor

o ConstIterator(const Iterator& i)
Convert from non-const

o ~ConstIterator()
Destroy the iterator

oConstIterator& operator= (const ConstIterator& i)
Assignment operator

oConstIterator& operator= (const Iterator& i)
Assignment from non-const

obool operator== (const ConstIterator& i) const
Equality operator

obool operator!= (const ConstIterator& i) const
Inequality operator

oConstIterator& operator++ ()
Increment operator (prefix)

oConstIterator operator++ (int)
Increment operator (postfix)

oConstIterator& operator-- ()
Decrement operator (prefix)

oConstIterator operator-- (int)
Decrement operator (postfix)

oConstIterator operator+ (int delta) const
Plus operator. Should be made more efficient!

oConstIterator operator- (int delta) const
Minus operator

oreference operator*() const
Dereference operator

opointer operator->() const
Pointer operator

oconst IteratorImp* GetImplementation() const
Get implementation


This class has no child classes.
Author:
Written June 2001 by Masahiro Ito and Daniel Sigg
Version:
1.0

Alphabetic index HTML hierarchy of classes or Java


Please send questions and comments to zweizig_j@ligo-wa.caltech.edu