a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
Matching< T, U > Class Template Reference

#include <Matching.h>

Detailed Description

template<typename T, typename U>
class Matching< T, U >

Definition at line 11 of file Matching.h.

Public Member Functions

T & getObj ()
 
 Matching (const U &ur)
 
void setObj (T &obji)
 

Private Attributes

obj
 
std::reference_wrapper< T > objr
 

Constructor & Destructor Documentation

◆ Matching()

template<typename T, typename U>
Matching< T, U >::Matching ( const U &  ur)
inline

Definition at line 13 of file Matching.h.

13 : obj(ur),objr(std::ref(obj)) {}

Member Function Documentation

◆ getObj()

template<typename T, typename U>
T& Matching< T, U >::getObj ( )
inline

Definition at line 14 of file Matching.h.

14 { return objr; }

◆ setObj()

template<typename T, typename U>
void Matching< T, U >::setObj ( T &  obji)
inline

Definition at line 15 of file Matching.h.

15 {objr = std::ref(obji);}

Member Data Documentation

◆ obj

template<typename T, typename U>
T Matching< T, U >::obj
private

Definition at line 17 of file Matching.h.

◆ objr

template<typename T, typename U>
std::reference_wrapper<T> Matching< T, U >::objr
private

Definition at line 18 of file Matching.h.


The documentation for this class was generated from the following file:
Matching::objr
std::reference_wrapper< T > objr
Definition: Matching.h:18
Matching::obj
T obj
Definition: Matching.h:17