37 TypedDistDict::iterator i =
myDict.find(type);
44 DistDict::iterator j = dict.find(
id);
45 if (j == dict.end()) {
55 const std::string&
id) {
56 TypedDistDict::iterator i =
myDict.find(type);
61 DistDict::iterator j = dict.find(
id);
62 if (j == dict.end()) {
71 for (TypedDistDict::iterator i =
myDict.begin(); i !=
myDict.end(); i++) {
73 for (DistDict::iterator j = dict.begin(); j != dict.end(); j++) {
static TypedDistDict myDict
Map from distribution types to distribution ids to 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.
std::map< std::string, DistDict > TypedDistDict
Definition of a map from distribution types to distribution ids to distributions.
std::map< std::string, Distribution * > DistDict
Definition of a map from distribution ids to distributions.
static void clear()
delete all stored distributions