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

Function store

src/IECorePython/ObjectPoolBinding.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51ObjectPtr store( ObjectPool &pool, Object* obj, ObjectPool::StoreMode storeMode )
52{
53 return const_cast< Object * >( pool.store(obj, storeMode).get() );
54}
55
56ObjectPtr retrieve( const ObjectPool &pool, MurmurHash key, bool _copy )
57{

Callers

nothing calls this directly

Calls 2

storeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected