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

Method writeObject

contrib/IECoreUSD/src/IECoreUSD/ObjectAlgo.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116bool IECoreUSD::ObjectAlgo::writeObject( const IECore::Object *object, const pxr::UsdStagePtr &stage, const pxr::SdfPath &path, pxr::UsdTimeCode time )
117{
118 const auto &w = writers();
119 auto it = w.find( object->typeId() );
120 if( it == w.end() )
121 {
122 return false;
123 }
124 return it->second( object, stage, path, time );
125}

Callers

nothing calls this directly

Calls 3

typeIdMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected