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

Method setPrefix

src/IECore/FileSequence.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void FileSequence::setPrefix( const std::string &prefix )
177{
178 std::string::size_type p = m_fileName.find_first_of( '#' );
179 assert( p != std::string::npos );
180 setFileName( prefix + m_fileName.substr( p, m_fileName.size() - p ) );
181}
182
183std::string FileSequence::getSuffix() const
184{

Callers 2

testPrefixMethod · 0.95
mvFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected