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

Function readAttribute

src/IECoreScene/bindings/SceneInterfaceBinding.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173ObjectPtr readAttribute( SceneInterface &m, const SceneInterface::Name &name, double time, bool copy )
174{
175 ConstObjectPtr o = m.readAttribute( name, time );
176 if( o )
177 {
178 return copy ? o->copy() : boost::const_pointer_cast<Object>( o );
179 }
180 return nullptr;
181}
182
183ObjectPtr readObject( SceneInterface &m, double time, const IECore::Canceller *canceller, bool copy )
184{

Callers 1

doOperationMethod · 0.85

Calls 2

readAttributeMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected