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

Method getSuffix

src/IECore/FileSequence.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183std::string FileSequence::getSuffix() const
184{
185 std::string::size_type p = m_fileName.find_last_of( '#' );
186 assert( p != std::string::npos );
187 return m_fileName.substr( p+1, m_fileName.size() - p - 1 );
188}
189
190void FileSequence::setSuffix( const std::string &suffix )
191{

Callers 2

testPrefixMethod · 0.95
doOperationMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected