9 #include <util/param/Label.h> 30 std::map<std::string, int>::const_iterator id_iter = ids_.find(name);
31 if (id_iter != ids_.end()) {
34 std::map<int, std::string>::const_iterator name_iter = names_.find(
id);
35 if (name_iter != names_.end()) {
38 ids_.insert(std::pair<std::string, int>(name,
id));
39 names_.insert(std::pair<int, std::string>(
id, name));
47 in >>
Label(
"nType") >> nType;
49 for (
int i = 0; i < nType; ++i) {
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
Utility classes for scientific computation.
A label string in a file format.