Jpp  18.6.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
JTRIGGER::JMatchHelper< JHit_t > Class Template Reference

Auxiliary class to handle pointer to match function. More...

#include <JMatch.hh>

Inheritance diagram for JTRIGGER::JMatchHelper< JHit_t >:
JLANG::JClonable< JClonable_t, JDerived_t >

Public Types

typedef bool(* pFun )(const JHit_t &, const JHit_t &)
 pointer to match function More...
 
typedef JClonable< JClonable_t >
::clone_type 
clone_type
 

Public Member Functions

 JMatchHelper (pFun match)
 Constructor. More...
 
virtual bool operator() (const JHit_t &first, const JHit_t &second) const override
 Match operator. More...
 
virtual clone_type clone () const override
 Get clone of this object. More...
 

Protected Attributes

pFun match
 

Detailed Description

template<class JHit_t>
class JTRIGGER::JMatchHelper< JHit_t >

Auxiliary class to handle pointer to match function.

Definition at line 74 of file JMatch.hh.

Member Typedef Documentation

template<class JHit_t >
typedef bool(* JTRIGGER::JMatchHelper< JHit_t >::pFun)(const JHit_t &, const JHit_t &)

pointer to match function

Definition at line 79 of file JMatch.hh.

template<class JClonable_t, class JDerived_t = JNullType>
typedef JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Constructor & Destructor Documentation

template<class JHit_t >
JTRIGGER::JMatchHelper< JHit_t >::JMatchHelper ( pFun  match)
inline

Constructor.

Parameters
matchpointer to match function

Definition at line 86 of file JMatch.hh.

86  :
87  match(match)
88  {}

Member Function Documentation

template<class JHit_t >
virtual bool JTRIGGER::JMatchHelper< JHit_t >::operator() ( const JHit_t &  first,
const JHit_t &  second 
) const
inlineoverridevirtual

Match operator.

Parameters
firsthit
secondhit
Returns
match result

Definition at line 98 of file JMatch.hh.

99  {
100  return match(first, second);
101  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
template<class JClonable_t, class JDerived_t = JNullType>
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

Member Data Documentation

template<class JHit_t >
pFun JTRIGGER::JMatchHelper< JHit_t >::match
protected

Definition at line 104 of file JMatch.hh.


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