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

Method getPadding

src/IECore/FileSequence.cpp:134–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134unsigned FileSequence::getPadding() const
135{
136 unsigned count = 0;
137
138 for ( std::string::const_iterator it = m_fileName.begin(); it != m_fileName.end(); ++it )
139 {
140 if ( *it == '#' )
141 {
142 ++count;
143 }
144 }
145 return count;
146}
147
148void FileSequence::setPadding( unsigned padding )
149{

Callers 4

testPaddingMethod · 0.95
testPrefixMethod · 0.95
doOperationMethod · 0.80
lsMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected