DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::cond::Operators::MapConditionsSelect< T > Struct Template Reference

Helper to collect conditions using a ConditionsSelect base class. More...

#include <ConditionsSelectors.h>

Inheritance diagram for dd4hep::cond::Operators::MapConditionsSelect< T >:
dd4hep::ConditionsSelect

Public Member Functions

 MapConditionsSelect (T &o)
 
virtual bool operator() (Condition::Object *o) const
 Overloadable entry: 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...
 
- Public Member Functions inherited from dd4hep::ConditionsSelect
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...
 

Public Attributes

T & mapping
 

Additional Inherited Members

- Protected Member Functions inherited from dd4hep::ConditionsSelect
 ConditionsSelect ()=default
 Default constructor. More...
 
 ConditionsSelect (const ConditionsSelect &copy)=default
 Copy constructor. More...
 
virtual ~ConditionsSelect ()
 Default destructor. More...
 
ConditionsSelectoperator= (const ConditionsSelect &copy)=default
 Default assignment operator. More...
 

Detailed Description

template<typename T>
struct dd4hep::cond::Operators::MapConditionsSelect< T >

Helper to collect conditions using a ConditionsSelect base class.

Author
M.Frank
Version
1.0

Definition at line 75 of file ConditionsSelectors.h.

Constructor & Destructor Documentation

◆ MapConditionsSelect()

template<typename T >
dd4hep::cond::Operators::MapConditionsSelect< T >::MapConditionsSelect ( T &  o)
inline

Definition at line 77 of file ConditionsSelectors.h.

Member Function Documentation

◆ operator()()

template<typename T >
virtual bool dd4hep::cond::Operators::MapConditionsSelect< T >::operator() ( Condition::Object cond) const
inlinevirtual

Overloadable entry: Selection callback: return true if the condition should be selected.

Implements dd4hep::ConditionsSelect.

Definition at line 78 of file ConditionsSelectors.h.

◆ size()

template<typename T >
virtual size_t dd4hep::cond::Operators::MapConditionsSelect< T >::size ( ) const
inlinevirtual

Overloadable entry: Return number of conditions selected. Default does nothing....

Reimplemented from dd4hep::ConditionsSelect.

Definition at line 80 of file ConditionsSelectors.h.

Member Data Documentation

◆ mapping

template<typename T >
T& dd4hep::cond::Operators::MapConditionsSelect< T >::mapping

Definition at line 76 of file ConditionsSelectors.h.


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