MCPcopy Create free account
hub / github.com/ImageEngine/cortex / write

Method write

src/IECore/StreamIndexedIO.cpp:257–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 6

writeLittleEndianFunction · 0.85
writeFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected