BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::DCUnaryAdapter< TFunc > Class Template Reference

#include <DCUnaryAdapter.h>

+ Inheritance diagram for dchain::DCUnaryAdapter< TFunc >:

Public Types

typedef TFunc::argument_type argument_type
 
typedef TFunc::result_type result_type
 
typedef TFunc::argument_type argument_type
 
typedef TFunc::result_type result_type
 

Public Member Functions

 DCUnaryAdapter ()
 
 DCUnaryAdapter (TFunc &iFunc)
 
 DCUnaryAdapter (TFunc *iFunc)
 
result_type operator() (argument_type iArg) const
 
 operator bool ()
 
 DCUnaryAdapter ()
 
 DCUnaryAdapter (TFunc &iFunc)
 
 DCUnaryAdapter (TFunc *iFunc)
 
result_type operator() (argument_type iArg) const
 
 operator bool ()
 

Detailed Description

template<class TFunc>
class dchain::DCUnaryAdapter< TFunc >

Definition at line 39 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCUnaryAdapter.h.

Member Typedef Documentation

◆ argument_type [1/2]

template<class TFunc >
typedef TFunc::argument_type dchain::DCUnaryAdapter< TFunc >::argument_type

◆ argument_type [2/2]

template<class TFunc >
typedef TFunc::argument_type dchain::DCUnaryAdapter< TFunc >::argument_type

◆ result_type [1/2]

template<class TFunc >
typedef TFunc::result_type dchain::DCUnaryAdapter< TFunc >::result_type

◆ result_type [2/2]

template<class TFunc >
typedef TFunc::result_type dchain::DCUnaryAdapter< TFunc >::result_type

Constructor & Destructor Documentation

◆ DCUnaryAdapter() [1/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( )
inline

◆ DCUnaryAdapter() [2/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( TFunc &  iFunc)
inline

◆ DCUnaryAdapter() [3/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( TFunc *  iFunc)
inline

◆ DCUnaryAdapter() [4/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( )
inline

Definition at line 50 of file InstallArea/include/DecayChain/DecayChain/Function/DCUnaryAdapter.h.

50: m_func(0) {}

◆ DCUnaryAdapter() [5/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( TFunc &  iFunc)
inline

Definition at line 51 of file InstallArea/include/DecayChain/DecayChain/Function/DCUnaryAdapter.h.

51: m_func(&iFunc) {}

◆ DCUnaryAdapter() [6/6]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter ( TFunc *  iFunc)
inline

Definition at line 52 of file InstallArea/include/DecayChain/DecayChain/Function/DCUnaryAdapter.h.

52: m_func(iFunc) {}

Member Function Documentation

◆ operator bool() [1/2]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::operator bool ( )
inline

Definition at line 63 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCUnaryAdapter.h.

63 {
64 return 0 != m_func;
65 }

◆ operator bool() [2/2]

template<class TFunc >
dchain::DCUnaryAdapter< TFunc >::operator bool ( )
inline

Definition at line 63 of file InstallArea/include/DecayChain/DecayChain/Function/DCUnaryAdapter.h.

63 {
64 return 0 != m_func;
65 }

◆ operator()() [1/2]

template<class TFunc >
result_type dchain::DCUnaryAdapter< TFunc >::operator() ( argument_type  iArg) const
inline

Definition at line 59 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Function/DCUnaryAdapter.h.

59 {
60 return (*m_func)(iArg);
61 }

◆ operator()() [2/2]

template<class TFunc >
result_type dchain::DCUnaryAdapter< TFunc >::operator() ( argument_type  iArg) const
inline

Definition at line 59 of file InstallArea/include/DecayChain/DecayChain/Function/DCUnaryAdapter.h.

59 {
60 return (*m_func)(iArg);
61 }

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