#include <string>
#include <vector>
#include <map>
#include "Framework/EventGen/GFluxI.h"
Go to the source code of this file.
#define FLUXDRIVERREG |
( |
|
_name | ) |
|
Value:genie::GFluxI* _name ## _ctor_function () {
return new _name; } \
static bool _name ## _creator_registered = \
genie::flux::GFluxDriverFactory::Instance().RegisterCreator(# _name, \
& _name ## _ctor_function, \
& _name ## _creator_registered );
GENIE Interface for user-defined flux classes.
Definition at line 138 of file GFluxDriverFactory.h.
#define FLUXDRIVERREG3 |
( |
|
_ns, |
|
|
|
_name, |
|
|
|
_fqname |
|
) |
| |
Value:namespace _ns { \
genie::GFluxI* _name ## _ctor_function () { return new _fqname; } \
static bool _name ## _creator_registered = \
genie::flux::GFluxDriverFactory::Instance().RegisterCreator(# _fqname, \
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}
Definition at line 145 of file GFluxDriverFactory.h.
#define FLUXDRIVERREG4 |
( |
|
_nsa, |
|
|
|
_nsb, |
|
|
|
_name, |
|
|
|
_fqname |
|
) |
| |
Value:namespace _nsa { \
namespace _nsb { \
genie::GFluxI* _name ## _ctor_function () { return new _fqname; } \
static bool _name ## _creator_registered = \
genie::flux::GFluxDriverFactory::Instance().RegisterCreator(# _fqname, \
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}}
Definition at line 153 of file GFluxDriverFactory.h.