6 #include "cetlib_except/exception.h" 22 unsigned int count = 0;
24 stringToIdMap_.insert(std::pair<std::string, unsigned int>(entry, count));
42 throw cet::exception(
"STRINGIDS") <<
"You forgot to initialize the StringIds object" 50 val = mapIter->second;
void reset(StringIDs const &desired)
std::vector< std::string > stringVec_
std::map< std::string, unsigned int > stringToIdMap_
unsigned int idGivenString(const std::string &s)
cet::coded_exception< error, detail::translate > exception