Pythia7::OrientedIndex Class Reference

During the stepping procedure of the LundFragHandler one may have to pass through several StringRegions to step from the initial StringRegion to the current one. More...

#include <OrientedIndex.h>

Inheritance diagram for Pythia7::OrientedIndex:

Pythia7::Oriented

List of all members.

Public Member Functions

 OrientedIndex (int ii=0)
 Standard constructor taking the start index as argument.
 OrientedIndex (const OrientedIndex &OI)
 Copu-constructor.
void operator= (const OrientedIndex &OI)
 Assignment operator.
OrientedIndexoperator= (int ii)
 Assignment operator for giving an index.
int operator++ ()
 Increase or decrease index depending on Oriented.
int operator++ (int)
 Increase or decrease index depending on Oriented.
bool operator== (int ii)
 Test for equality.
bool operator!= (int ii) const
 Test for inequality.
bool operator< (int ii) const
 Test for ordering.
bool operator<= (int ii) const
 Test for ordering.
bool operator< (const OrientedIndex &OI) const
 Test for ordering.
bool operator<= (const OrientedIndex &OI) const
 Test for ordering.
OrientedIndex operator- ()
 Negate the index.
int idx () const
 Return the index.
 operator int () const
 Return the index.

Private Attributes

int Idx
 The index.


Detailed Description

During the stepping procedure of the LundFragHandler one may have to pass through several StringRegions to step from the initial StringRegion to the current one.

OrientedIndex is an helper class used to iterate the indices $(j,k)$ in a side-independent manner in order to allow for one generic implementation of the stepping algorithmic.

The OrientedIndex provides strait forward implementation of the different operators needed for iteration, like ++, --, >=, =< etc. that use the Oriented to access to the current side in the fragmentation.

See also:
LundFragHandler

Oriented

Definition at line 33 of file OrientedIndex.h.


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

Generated on Thu Apr 29 12:45:35 2010 for Pythia7 by  doxygen 1.5.5