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

Method writeSet

src/IECoreScene/LinkedScene.cpp:933–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933void LinkedScene::writeSet( const SceneInterface::Name &name, const IECore::PathMatcher &set )
934{
935 if( m_linkedScene ) // todo check this condition.
936 {
937 SceneInterface::Path p;
938 path( p );
939 std::string strPath;
940 SceneInterface::pathToString( p, strPath );
941 throw IECore::Exception( boost::str( boost::format( "Unable to write set to linked scene location: '%1%'" ) % strPath ) );
942 }
943 else
944 {
945 m_mainScene->writeSet( name, set );
946 }
947}
948
949void LinkedScene::hashSet( const SceneInterface::Name &setName, IECore::MurmurHash &h ) const
950{

Callers

nothing calls this directly

Calls 3

pathFunction · 0.85
pathToStringFunction · 0.85
strFunction · 0.50

Tested by

no test coverage detected