17 #ifndef DistributionCont_h 18 #define DistributionCont_h 41 static bool dictionary(
const std::string& type,
const std::string&
id,
46 const std::string&
id);
53 typedef std::map<std::string, Distribution*>
DistDict;
static void clear()
delete all stored distributions
static bool dictionary(const std::string &type, const std::string &id, Distribution *d)
Adds a distribution of the given type and name to the container.
static TypedDistDict myDict
Map from distribution types to distribution ids to distributions.
std::map< std::string, Distribution * > DistDict
Definition of a map from distribution ids to distributions.
std::map< std::string, DistDict > TypedDistDict
Definition of a map from distribution types to distribution ids to distributions. ...