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

Function update

src/IECorePython/CompoundObjectBinding.cpp:250–259  ·  view source on GitHub ↗

binding for update method

Source from the content-addressed store, hash-verified

248
249/// binding for update method
250static void update( CompoundObject &x, ConstCompoundObjectPtr y )
251{
252 assert( y );
253 CompoundObject::ObjectMap::const_iterator it = y->members().begin();
254
255 for (; it != y->members().end(); it++)
256 {
257 setItem( x, it->first.value().c_str(), *it->second );
258 }
259}
260
261/// copy constructor
262static CompoundObjectPtr copyConstructor( ConstCompoundObjectPtr other )

Callers 4

hashMethod · 0.85
hashSubstitutionsMethod · 0.85
applySubstitutionsMethod · 0.85
copyConstructorFunction · 0.85

Calls 4

setItemFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected