31 #ifdef CHECK_MEMORY_LEAKS 33 #endif // CHECK_MEMORY_LEAKS 48 TypedDistDict::iterator i =
myDict.find(type);
55 DistDict::iterator j = dict.find(
id);
56 if (j == dict.end()) {
66 const std::string&
id) {
67 TypedDistDict::iterator i =
myDict.find(type);
72 DistDict::iterator j = dict.find(
id);
73 if (j == dict.end()) {
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. ...