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

Function copyConstructor

src/IECorePython/CompoundObjectBinding.cpp:262–268  ·  view source on GitHub ↗

copy constructor

Source from the content-addressed store, hash-verified

260
261/// copy constructor
262static CompoundObjectPtr copyConstructor( ConstCompoundObjectPtr other )
263{
264 assert( other );
265 CompoundObjectPtr r = new CompoundObject();
266 update( *r, other );
267 return r;
268}
269
270/// binding for get method
271static ObjectPtr get( const CompoundObject &o, const IECore::InternedString &key, ObjectPtr defaultValue )

Callers

nothing calls this directly

Calls 1

updateFunction · 0.85

Tested by

no test coverage detected