43 TypedDistDict::iterator i =
myDict.find(type);
50 DistDict::iterator j = dict.find(
id);
51 if (j == dict.end()) {
61 const std::string&
id) {
62 TypedDistDict::iterator i =
myDict.find(type);
67 DistDict::iterator j = dict.find(
id);
68 if (j == dict.end()) {
77 for (TypedDistDict::iterator i =
myDict.begin(); i !=
myDict.end(); i++) {
79 for (DistDict::iterator j = dict.begin(); j != dict.end(); j++) {
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. ...