In file WindowIterator.hh:

class ConstWindowIterator

Defines a const event window iterator

Inheritance:


Public Methods

[more] ConstWindowIterator ()
Default constructor
[more] ConstWindowIterator (const iterator& beg, const iterator& end, int order = 1, const TimeWindow& window = 1.0)
Constructor
[more] ConstWindowIterator (const iterator& beg1, const iterator& end1, const iterator& beg2, const iterator& end2, const TimeWindow& window = 1.0)
Constructor
[more] ConstWindowIterator (const iterator& beg1, const iterator& end1, const iterator& beg2, const iterator& end2, const iterator& beg3, const iterator& end3, const TimeWindow& window = 1.0)
Constructor
[more] ConstWindowIterator (const InputStateList& state, const TimeWindow& window = 1.0)
Constructor
[more] ConstWindowIterator (const WindowIterator& i)
Convert from non-const
[more]ConstWindowIterator& operator= (const WindowIterator& i)
Assignment opetator
[more]bool operator== (const ConstWindowIterator& i) const
Equality operator
[more]bool operator!= (const ConstWindowIterator& i) const
Inequality operator
[more]ConstWindowIterator& operator++ ()
Increment operator (prefix)
[more]ConstWindowIterator operator++ (int)
Increment operator (postfix)
[more]reference operator* () const
Dereference operator
[more]pointer operator-> () const
Pointer operator

Public Members

[more]typedef ConstIterator iterator
Iterator to be used


Inherited from BasicWindowIterator:

Public Methods

oint GetOrder() const

Public Members

ostruct InputState
otypedef std::vector<InputState> InputStateList

Protected Methods

ovoid InitWindow()
ovoid Increment()
oint GetPermutations() const
ovoid SetPermutation()
oWindow& GetWindow()
oconst Window& GetWindow() const


Documentation

A constant event window iterator.

otypedef ConstIterator iterator
Iterator to be used

o ConstWindowIterator()
Creates an NULL window iterator. Equivalent to an end iterator

o ConstWindowIterator(const iterator& beg, const iterator& end, int order = 1, const TimeWindow& window = 1.0)
Creates an window iterator form a an iterator range.
Parameters:
beg - Beginning of event range
- end End of event range
order - Coincidence order
window - Anlysis window (in sec)
offset - Offset of analysis window (in sec)

o ConstWindowIterator(const iterator& beg1, const iterator& end1, const iterator& beg2, const iterator& end2, const TimeWindow& window = 1.0)
Creates an window iterator from two iterator ranges. The coincidence order is 2.
Parameters:
beg1 - Beginning of first event range
end1 - End of first event range
beg2 - Beginning of second event range
end2 - End of second event range
window - Anlysis window (in sec)

o ConstWindowIterator(const iterator& beg1, const iterator& end1, const iterator& beg2, const iterator& end2, const iterator& beg3, const iterator& end3, const TimeWindow& window = 1.0)
Creates an window iterator from three iterator ranges. The coincidence order is 3.
Parameters:
beg1 - Beginning of first event range
end1 - End of first event range
beg2 - Beginning of second event range
end2 - End of second event range
beg3 - Beginning of third event range
end3 - End of third event range
window - Anlysis window (in sec)

o ConstWindowIterator(const InputStateList& state, const TimeWindow& window = 1.0)
Creates an window iterator from multiple iterator ranges. The coincidence order is the equal the length of the input list.
Parameters:
- state List of input event ranges
window - Anlysis window (in sec)

o ConstWindowIterator(const WindowIterator& i)
Convert from non-const

oConstWindowIterator& operator= (const WindowIterator& i)
Assignment from non-const

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

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

oConstWindowIterator& operator++ ()
Increment operator (prefix)

oConstWindowIterator operator++ (int)
Increment operator (postfix)

oreference operator*() const
Dereference operator

opointer operator->() const
Pointer operator


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