#include <MultiColour.h>
Public Member Functions | |
virtual vector< tcColinePtr > | antiColourLines () const |
Return the anti-colour lines to which this particle is connected. | |
virtual vector< tcColinePtr > | colourLines () const |
Return the colour lines to which this particle is connected. | |
virtual void | colourLine (tColinePtr line, bool anti=false) |
Add the given (anti-) colour line to the particle. | |
virtual void | antiColourLine (tColinePtr line) |
Add the given anti-colour line to the particle. | |
virtual void | removeColourLine (tcColinePtr line, bool anti=false) |
Remove the given (anti-) colour line from the particle. | |
virtual void | removeAntiColourLine (tcColinePtr line) |
Remove the given anti-colour line from the particle. | |
virtual bool | hasColourLine (tcColinePtr line, bool anti=false) const |
Return true if the particle is connected to the given (anti-) colour line. | |
virtual EIPtr | clone () const |
Standard clone method. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Private Member Functions | |
MultiColour & | operator= (const MultiColour &) |
The assignment operator is private and must never be called. | |
Private Attributes | |
set< cColinePtr > | theColourLines |
The set of colour lines to which a particle is attached. | |
set< cColinePtr > | theAntiColourLines |
The set of anti-colour lines to which a particle is attached. | |
Static Private Attributes | |
static ClassDescription < MultiColour > | initMultiColour |
The static object used to initialize the description of this class. |
Rather than just having a
Definition at line 24 of file MultiColour.h.
virtual void ThePEG::MultiColour::colourLine | ( | tColinePtr | line, | |
bool | anti = false | |||
) | [virtual] |
Add the given (anti-) colour line to the particle.
If the base class has no (anti-) colour line, it will also be set.
Reimplemented from ThePEG::ColourBase.
virtual void ThePEG::MultiColour::antiColourLine | ( | tColinePtr | line | ) | [virtual] |
Add the given anti-colour line to the particle.
If the base class has no anti-colour line, it will also be set.
Reimplemented from ThePEG::ColourBase.
virtual void ThePEG::MultiColour::removeColourLine | ( | tcColinePtr | line, | |
bool | anti = false | |||
) | [virtual] |
Remove the given (anti-) colour line from the particle.
If the line is the colourLine() of the base class, it will be removed there as well.
Reimplemented from ThePEG::ColourBase.
virtual void ThePEG::MultiColour::removeAntiColourLine | ( | tcColinePtr | line | ) | [virtual] |
Remove the given anti-colour line from the particle.
If the line is the antiColourLine() of the base class, it will be removed there as well.
Reimplemented from ThePEG::ColourBase.
void ThePEG::MultiColour::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::ColourBase.
void ThePEG::MultiColour::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::ColourBase.
static void ThePEG::MultiColour::Init | ( | ) | [static] |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
Reimplemented from ThePEG::ColourBase.
MultiColour& ThePEG::MultiColour::operator= | ( | const MultiColour & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
ClassDescription<MultiColour> ThePEG::MultiColour::initMultiColour [static, private] |
The static object used to initialize the description of this class.
Indicates that this is a concrete class with persistent data.
Definition at line 124 of file MultiColour.h.