gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
Gambit::Scanner::Function_Deleter< ret(args...)> Class Template Reference

#include <factory_defs.hpp>

Collaboration diagram for Gambit::Scanner::Function_Deleter< ret(args...)>:

Public Member Functions

 Function_Deleter (void *in)
 
 Function_Deleter (const Function_Deleter< ret(args...)> &in)
 
void operator= (const Function_Deleter< ret(args...)> &in)
 
void operator() (Function_Base< ret(args...)> *in)
 

Private Attributes

Function_Base< ret(args...)> * obj
 

Detailed Description

template<typename ret, typename... args>
class Gambit::Scanner::Function_Deleter< ret(args...)>

Definition at line 218 of file factory_defs.hpp.

Constructor & Destructor Documentation

◆ Function_Deleter() [1/2]

template<typename ret , typename... args>
Gambit::Scanner::Function_Deleter< ret(args...)>::Function_Deleter ( void in)
inline

Definition at line 224 of file factory_defs.hpp.

224 : obj(static_cast< Function_Base<ret (args...)>* >(in)) {}

◆ Function_Deleter() [2/2]

template<typename ret , typename... args>
Gambit::Scanner::Function_Deleter< ret(args...)>::Function_Deleter ( const Function_Deleter< ret(args...)> &  in)
inline

Definition at line 226 of file factory_defs.hpp.

226 : obj(in.obj) {}

Member Function Documentation

◆ operator()()

template<typename ret , typename... args>
void Gambit::Scanner::Function_Deleter< ret(args...)>::operator() ( Function_Base< ret(args...)> *  in)
inline

Definition at line 233 of file factory_defs.hpp.

References find_all_gambit_bits::args.

234  {
235  obj->deleter(in);
236  }
virtual void deleter(Function_Base< ret(args...)> *in) const

◆ operator=()

template<typename ret , typename... args>
void Gambit::Scanner::Function_Deleter< ret(args...)>::operator= ( const Function_Deleter< ret(args...)> &  in)
inline

Definition at line 228 of file factory_defs.hpp.

229  {
230  obj = in.obj;
231  }

Member Data Documentation

◆ obj

template<typename ret , typename... args>
Function_Base<ret (args...)>* Gambit::Scanner::Function_Deleter< ret(args...)>::obj
private

Definition at line 221 of file factory_defs.hpp.


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