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

Method insert

src/IECore/CachedReader.cpp:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void CachedReader::insert( const std::string &file, ConstObjectPtr obj )
208{
209 m_data->m_fileErrors.erase( file );
210 m_data->m_cache.set( PARAM(file), obj.get(), ObjectPool::StoreReference );
211}
212
213bool CachedReader::cached( const std::string &file ) const
214{

Callers 15

testMethod · 0.95
convertUsingNamespaceFunction · 0.80
WriteToFileMethod · 0.80
writeLocationMethod · 0.80
loadPrimVarsMethod · 0.80
MoveSpecMethod · 0.80
TF_FOR_ALLFunction · 0.80
recursiveSetFunction · 0.80
recursiveSetNamesFunction · 0.80
hasTagMethod · 0.80
writeTagsMethod · 0.80

Calls 3

eraseMethod · 0.45
setMethod · 0.45
getMethod · 0.45

Tested by 4

testConnectedVerticesMethod · 0.64
operator()Method · 0.64
testLayerEditingMethod · 0.64
testUnorderedSetMethod · 0.64