59 LOG(
"Flux",
pWARN) <<
"### GFlavorMixerFactory WARNING: " 60 <<
"GFlavorMixerI " << name <<
" is not known";
75 const std::vector<std::string>&
static GFlavorMixerFactory & Instance()
THE MAIN GENIE PROJECT NAMESPACE
genie::flux::GFlavorMixerI *(* GFlavorMixerICtorFuncPtr_t)()
static GFlavorMixerFactory * fgTheInstance
genie::flux::GFlavorMixerI * GetFlavorMixer(const std::string &)
std::vector< std::string > listnames
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
std::map< std::string, bool * > fBoolPtrMap
GENIE interface for flavor modification.
std::map< std::string, GFlavorMixerICtorFuncPtr_t > fFunctionMap
virtual ~GFlavorMixerFactory()
const std::vector< std::string > & AvailableFlavorMixers() const
bool IsKnownFlavorMixer(const std::string &)
A class for generating concrete GFlavorMixerI derived classes based on the factory pattern...
bool RegisterCreator(std::string name, GFlavorMixerICtorFuncPtr_t ctorptr, bool *ptr)