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

Method fileName

src/IECoreScene/SceneCache.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 std::string fileName() const
108 {
109 if ( m_indexedIO->typeId() == FileIndexedIOTypeId )
110 {
111 return static_cast< FileIndexedIO * >( m_indexedIO.get() )->fileName();
112 }
113 throw Exception( "File name not available in scene cache!" );
114 }
115
116 bool hasObject() const
117 {

Callers

nothing calls this directly

Calls 3

typeIdMethod · 0.80
fileNameMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected