| 255 | |
| 256 | template < typename F > |
| 257 | void write( F &f ) const |
| 258 | { |
| 259 | uint64_t sz = m_stringToIdMap.size(); |
| 260 | writeLittleEndian( f,sz ); |
| 261 | |
| 262 | for (StringToIdMap::const_iterator it = m_stringToIdMap.begin(); |
| 263 | it != m_stringToIdMap.end(); ++it) |
| 264 | { |
| 265 | write(f, it->first); |
| 266 | |
| 267 | writeLittleEndian(f,it->second); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | uint64_t find( const IndexedIO::EntryID &s ) const |
| 272 | { |