|
CbmRoot
|
#include <CaObjectInitController.h>
Public Member Functions | |
| bool | GetFlag (InitKeyEnum bitKey) const |
| bool | IsFinalized () const |
| Checks, if the object is finalized, i.e. all its fields were set up. | |
| void | SetFlag (InitKeyEnum bitKey, bool newStatus=true) |
| std::string | ToString (int indentLevel=0) const |
Private Attributes | |
| std::bitset< NumberOfFlags > | fInitFlags {} |
| object of flags sets | |
ObjectInitController is a class, which provides flags system and functionality needed for L1 algorithm objects initialization
ObjectInitController is a class, which provides flags system and functionality needed for L1 algorithm objects initialization
Definition at line 30 of file CaObjectInitController.h.
| bool cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::GetFlag | ( | InitKeyEnum | bitKey | ) | const |
Gets an initialization status of the flag placed at bitIndex
| bitIndex | index of bit |
Definition at line 53 of file CaObjectInitController.h.
References fInitFlags.
|
inline |
Checks, if the object is finalized, i.e. all its fields were set up.
Definition at line 36 of file CaObjectInitController.h.
References fInitFlags.
| void cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::SetFlag | ( | InitKeyEnum | bitKey, |
| bool | newStatus = true ) |
Sets an initialization status of the flag placed at bitIndex
| bitIndex | index of bit |
| newStatus | flag value (true is default) |
Definition at line 67 of file CaObjectInitController.h.
References fInitFlags.
| std::string cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of initialization flags contents
| indentLevel | number of indent charachets int output |
Definition at line 81 of file CaObjectInitController.h.
References fInitFlags.
|
private |
object of flags sets
Definition at line 46 of file CaObjectInitController.h.
Referenced by GetFlag(), IsFinalized(), SetFlag(), and ToString().