Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JDATABASE::JDBToolkit Struct Reference

Wrapper data structure for initialisation of fuction objects. More...

#include <JDBToolkit.hh>

Static Public Member Functions

template<class JHelper_t , class ... Args>
static void initialise (JHelper_t &helper, const Args &...args)
 Initialise.
 
template<class ... Args>
static void initialise (JDetectorsHelper &(*pF)(), const Args &...args)
 Initialise.
 
template<class JHelper_t , class ... Args>
static void initialise (JHelper_t &(*pF)(), const Args &...args)
 Initialise.
 

Detailed Description

Wrapper data structure for initialisation of fuction objects.

The fuction objects will expand on the fly making a corresponding query to the database.
To avoid making a query within another query, a given function object can a priori be initialised using the static method JDBToolkit::initialise.

Definition at line 332 of file JDBToolkit.hh.

Member Function Documentation

◆ initialise() [1/3]

template<class JHelper_t , class ... Args>
static void JDATABASE::JDBToolkit::initialise ( JHelper_t & helper,
const Args &... args )
inlinestatic

Initialise.

Parameters
helperhelper object
argsvalues

Definition at line 340 of file JDBToolkit.hh.

341 {
342 helper.initialise(args...);
343 }

◆ initialise() [2/3]

template<class ... Args>
static void JDATABASE::JDBToolkit::initialise ( JDetectorsHelper &(* pF )(),
const Args &... args )
inlinestatic

Initialise.

Parameters
pFhelper function
argsvalues

Definition at line 353 of file JDBToolkit.hh.

354 {
356 }
static JDetectorsHelper helper
Helper object.
void initialise()
Initialise.
Definition JDBToolkit.hh:48

◆ initialise() [3/3]

template<class JHelper_t , class ... Args>
static void JDATABASE::JDBToolkit::initialise ( JHelper_t &(* pF )(),
const Args &... args )
inlinestatic

Initialise.

Parameters
pFhelper function
argsvalues

Definition at line 366 of file JDBToolkit.hh.

367 {
368 JHelper_t::helper.initialise(args...);
369 }

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