DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Conditions selector functor. Default implementation selects everything evaluated. More...
#include <Conditions.h>
Public Member Functions | |
bool | operator() (Condition cond) const |
Selection callback: return true if the condition should be selected. More... | |
bool | operator() (std::pair< Condition::key_type, Condition::Object * > cond) const |
Selection callback: return true if the condition should be selected. More... | |
bool | operator() (std::pair< Condition::key_type, Condition > cond) const |
Selection callback: return true if the condition should be selected. More... | |
virtual size_t | size () const |
Overloadable entry: Return number of conditions selected. Default does nothing.... More... | |
virtual bool | operator() (Condition::Object *cond) const =0 |
Overloadable entry: Selection callback: return true if the condition should be selected. More... | |
Protected Member Functions | |
ConditionsSelect ()=default | |
Default constructor. More... | |
ConditionsSelect (const ConditionsSelect ©)=default | |
Copy constructor. More... | |
virtual | ~ConditionsSelect () |
Default destructor. More... | |
ConditionsSelect & | operator= (const ConditionsSelect ©)=default |
Default assignment operator. More... | |
Conditions selector functor. Default implementation selects everything evaluated.
Please note: This class should never be directly instantiated by the user. A typical use-case is to do so in a wrapper class, which contains a refernce to a counter object, which in turn allows to deduce information from the processed objects.
See class ConditionsSelectWrapper below
Definition at line 422 of file Conditions.h.
|
protecteddefault |
Default constructor.
|
protecteddefault |
Copy constructor.
|
protectedvirtual |
Default destructor.
Definition at line 218 of file Conditions.cpp.
|
inline |
Selection callback: return true if the condition should be selected.
Definition at line 435 of file Conditions.h.
|
pure virtual |
Overloadable entry: Selection callback: return true if the condition should be selected.
Implemented in dd4hep::cond::Operators::MapConditionsSelect< T >.
|
inline |
Selection callback: return true if the condition should be selected.
Arg is 2 longwords. No need to pass by reference.
Definition at line 442 of file Conditions.h.
|
inline |
Selection callback: return true if the condition should be selected.
Arg is 2 longwords. No need to pass by reference.
Definition at line 437 of file Conditions.h.
|
protecteddefault |
Default assignment operator.
|
inlinevirtual |
Overloadable entry: Return number of conditions selected. Default does nothing....
Reimplemented in dd4hep::cond::Operators::MapConditionsSelect< T >.
Definition at line 446 of file Conditions.h.