BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
Commissioner< Commissionee, Criteria > Class Template Reference

#include <Commissioner.h>

Public Member Functions

 Commissioner (Action< Commissionee, Criteria > aSelector, Criteria aCriteria)
 
bool select (Commissionee *aCommissionee)
 
bool select (Commissionee *aCommissionee, Criteria aCriteria) const
 

Detailed Description

template<class Commissionee, class Criteria>
class Commissioner< Commissionee, Criteria >

Definition at line 31 of file Commissioner.h.

Constructor & Destructor Documentation

◆ Commissioner()

template<class Commissionee , class Criteria >
Commissioner< Commissionee, Criteria >::Commissioner ( Action< Commissionee, Criteria aSelector,
Criteria  aCriteria 
)
inline

Definition at line 40 of file Commissioner.h.

44 : itsSelector(aSelector), itsCriteria(aCriteria)
45 //## end Commissioner::Commissioner%894312587.initialization
46 {
47 //## begin Commissioner::Commissioner%894312587.body preserve=yes
48 //## end Commissioner::Commissioner%894312587.body
49 }

Member Function Documentation

◆ select() [1/2]

template<class Commissionee , class Criteria >
bool Commissioner< Commissionee, Criteria >::select ( Commissionee *  aCommissionee)
inline

Definition at line 56 of file Commissioner.h.

57 {
58 //## begin Commissioner::select%894312588.body preserve=yes
59 return (itsCriteria == itsSelector.execute(aCommissionee));
60 //## end Commissioner::select%894312588.body
61 }
_Ty execute(Actor *anActor)
Definition: Adapter.h:101

◆ select() [2/2]

template<class Commissionee , class Criteria >
bool Commissioner< Commissionee, Criteria >::select ( Commissionee *  aCommissionee,
Criteria  aCriteria 
) const
inline

Definition at line 66 of file Commissioner.h.

67 {
68 //## begin Commissioner::select%894312589.body preserve=yes
69 return (aCriteria == itsSelector.execute(aCommissionee));
70 //## end Commissioner::select%894312589.body
71 }

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