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

Method setSuffix

src/IECore/FileSequence.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void FileSequence::setSuffix( const std::string &suffix )
191{
192 std::string::size_type p = m_fileName.find_last_of( '#' );
193 assert( p != std::string::npos );
194 setFileName( m_fileName.substr( 0, p + 1 ) + suffix );
195}
196
197std::string FileSequence::fileNameForFrame( FrameList::Frame frameNumber ) const
198{

Callers 1

testPrefixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected