51 std::map<std::string, GFlavorMixerICtorFuncPtr_t>::iterator itr
59 LOG(
"Flux",
pWARN) <<
"### GFlavorMixerFactory WARNING: "
60 <<
"GFlavorMixerI " << name <<
" is not known";
69 std::map<std::string, GFlavorMixerICtorFuncPtr_t>::iterator itr
75 const std::vector<std::string>&
83 std::map<std::string, GFlavorMixerICtorFuncPtr_t>::const_iterator itr;
static GFlavorMixerFactory & Instance()
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)
genie::flux::GFlavorMixerI *(* GFlavorMixerICtorFuncPtr_t)()