| 269 | } |
| 270 | |
| 271 | uint64_t find( const IndexedIO::EntryID &s ) const |
| 272 | { |
| 273 | StringToIdMap::const_iterator it = m_stringToIdMap.find( s ); |
| 274 | if ( it == m_stringToIdMap.end() ) |
| 275 | { |
| 276 | throw IOException( (boost::format ( "StringCache: could not find string %s!" ) % s.value() ).str() ); |
| 277 | } |
| 278 | return it->second; |
| 279 | } |
| 280 | |
| 281 | uint64_t find( const IndexedIO::EntryID &s, bool errIfNotFound = true ) |
| 282 | { |
no test coverage detected