OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
A section of a beam line. More...
#include <FlaggedElmPtr.h>
Public Member Functions | |
FlaggedElmPtr (const ElmPtr &, bool reflected=false, bool selected=false) | |
Constructor. More... | |
FlaggedElmPtr (const FlaggedElmPtr &) | |
Copy constructor. More... | |
FlaggedElmPtr () | |
virtual | ~FlaggedElmPtr () |
virtual void | accept (BeamlineVisitor &) const |
Apply visitor. More... | |
int | getCounter () const |
Get clone counter. More... | |
bool | getReflectionFlag () const |
Get reflection flag. More... | |
bool | getSelectionFlag () const |
Get selection flag. More... | |
void | setCounter (int) const |
Set clone counter. More... | |
void | setReflectionFlag (bool flag) const |
Set reflection flag. More... | |
void | setSelectionFlag (bool flag) const |
Get selection flag. More... | |
Public Member Functions inherited from ElmPtr | |
ElmPtr () | |
ElmPtr (const ElmPtr &) | |
ElmPtr (ElementBase *) | |
virtual | ~ElmPtr () |
ElementBase * | getElement () const |
Get the element pointer. More... | |
void | setElement (ElementBase *) |
Set the element pointer. More... | |
Protected Attributes | |
int | itsCounter |
Clone counter. More... | |
bool | isReflected |
The reflection flag. More... | |
bool | isSelected |
The selection flag. More... | |
Protected Attributes inherited from ElmPtr | |
Pointer< ElementBase > | itsElement |
A section of a beam line.
Definition at line 36 of file FlaggedElmPtr.h.
|
explicit |
Constructor.
Definition at line 29 of file FlaggedElmPtr.cpp.
FlaggedElmPtr::FlaggedElmPtr | ( | const FlaggedElmPtr & | rhs | ) |
Copy constructor.
Definition at line 46 of file FlaggedElmPtr.cpp.
FlaggedElmPtr::FlaggedElmPtr | ( | ) |
Definition at line 38 of file FlaggedElmPtr.cpp.
|
virtual |
Definition at line 54 of file FlaggedElmPtr.cpp.
|
virtual |
Apply visitor.
Reimplemented from ElmPtr.
Definition at line 58 of file FlaggedElmPtr.cpp.
References BeamlineVisitor::visitFlaggedElmPtr().
|
inline |
Get clone counter.
Definition at line 96 of file FlaggedElmPtr.h.
References itsCounter.
Referenced by PlaceRep::enter(), and PlaceRep::leave().
|
inline |
Get reflection flag.
Definition at line 101 of file FlaggedElmPtr.h.
References isReflected.
Referenced by Sequence::print(), and DefaultVisitor::visitFlaggedElmPtr().
|
inline |
|
inline |
|
inline |
Set reflection flag.
Definition at line 116 of file FlaggedElmPtr.h.
References isReflected.
Referenced by Line::parseList(), and SequenceParser::parseMember().
|
inline |
Get selection flag.
Definition at line 121 of file FlaggedElmPtr.h.
References isSelected.
Referenced by Selector::handleElement(), and Flagger::visitFlaggedElmPtr().
|
mutableprotected |
The reflection flag.
Definition at line 87 of file FlaggedElmPtr.h.
Referenced by getReflectionFlag(), and setReflectionFlag().
|
mutableprotected |
The selection flag.
Definition at line 92 of file FlaggedElmPtr.h.
Referenced by getSelectionFlag(), and setSelectionFlag().
|
mutableprotected |
Clone counter.
Definition at line 82 of file FlaggedElmPtr.h.
Referenced by getCounter(), and setCounter().