3 #include <boost/functional/hash.hpp>
10 cout <<
"PdbParameterMap::print - Hash 0x" << std::hex << get_hash() << std::dec << endl;
12 cout <<
"double parameters: " << endl;
13 for (map<const string, double>::const_iterator iter = dparams.begin(); iter != dparams.end(); ++iter)
15 cout << iter->first <<
": " << iter->second << endl;
17 cout <<
"integer parameters: " << endl;
18 for (map<const string, int>::const_iterator iter = iparams.begin(); iter != iparams.end(); ++iter)
20 cout << iter->first <<
": " << iter->second << endl;
22 cout <<
"string parameters: " << endl;
23 for (map<const string, string>::const_iterator iter = cparams.begin(); iter != cparams.end(); ++iter)
25 cout << iter->first <<
": " << iter->second << endl;
57 for (dMap::const_iterator iter = dparams.begin();
58 iter != dparams.end(); ++iter)
61 boost::hash_combine(seed, iter->first);
62 boost::hash_combine(seed, iter->second);
66 for (iMap::const_iterator iter = iparams.begin();
67 iter != iparams.end(); ++iter)
70 boost::hash_combine(seed, iter->first);
71 boost::hash_combine(seed, iter->second);
75 for (strMap::const_iterator iter = cparams.begin();
76 iter != cparams.end(); ++iter)
79 boost::hash_combine(seed, iter->first);
80 boost::hash_combine(seed, iter->second);