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

Method getPrefix

src/IECore/FileSequence.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168std::string FileSequence::getPrefix() const
169{
170 std::string::size_type p = m_fileName.find_first_of( '#' );
171 assert( p != std::string::npos );
172
173 return m_fileName.substr( 0, p );
174}
175
176void FileSequence::setPrefix( const std::string &prefix )
177{

Callers 3

testPrefixMethod · 0.95
mvFunction · 0.80
doOperationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected