Belle II Software  release-08-01-10
WithSharedMark< T > Class Template Reference

Mixin class to attach a mark that is shared among many instances. More...

#include <WithSharedMark.h>

Inheritance diagram for WithSharedMark< T >:
Collaboration diagram for WithSharedMark< T >:

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.
 

Detailed Description

template<class T>
class Belle2::TrackFindingCDC::WithSharedMark< T >

Mixin class to attach a mark that is shared among many instances.

Definition at line 21 of file WithSharedMark.h.


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