Belle II Software development
|
Mixin class to attach a mark that is shared among many instances. More...
#include <WithSharedMark.h>
Public Member Functions | |
WithSharedMark (const T &obj, bool *isMarked) | |
Mixin class Wraps an object including r the mark is provided from a shared position. | |
bool | isMarked () const |
Check if the object has been marked. | |
void | mark (bool mark=true) |
Mark this object. | |
void | unmark () |
Unmark this object. | |
Private Types | |
using | Super = ScalarToClass< T > |
Base class of the mixin. | |
Private Attributes | |
bool * | m_isMarked |
Reference to the shared marks. | |
Mixin class to attach a mark that is shared among many instances.
Definition at line 21 of file WithSharedMark.h.
|
private |
Base class of the mixin.
Definition at line 24 of file WithSharedMark.h.
|
inline |
Mixin class Wraps an object including r the mark is provided from a shared position.
Definition at line 28 of file WithSharedMark.h.
|
inline |
Check if the object has been marked.
Definition at line 35 of file WithSharedMark.h.
|
inline |
|
inline |
Unmark this object.
Definition at line 47 of file WithSharedMark.h.
|
private |
Reference to the shared marks.
Definition at line 54 of file WithSharedMark.h.