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

Method getFileSequenceValues

src/IECore/FileSequenceVectorParameter.cpp:200–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void FileSequenceVectorParameter::getFileSequenceValues( const StringVectorData *value, std::vector<FileSequencePtr> &fileSequences ) const
201{
202
203 fileSequences.clear();
204
205 const std::vector< std::string > &sequences = value->readable();
206 //const std::vector< std::string > &sequences = getTypedValue();
207
208 for ( std::vector< std::string >::const_iterator it =sequences.begin(); it != sequences.end(); ++it )
209 {
210 FileSequencePtr sequence;
211
212 if ( it->find_first_of( ' ' ) == std::string::npos )
213 {
214 ls( *it, sequence );
215 }
216 else
217 {
218 sequence = parseFileSequence( *it );
219 }
220
221 if ( sequence )
222 {
223 fileSequences.push_back( sequence );
224 }
225 }
226}
227
228void FileSequenceVectorParameter::getFileSequenceValues( std::vector<FileSequencePtr> &fileSequences ) const
229{

Callers 1

testMethod · 0.95

Calls 5

readableMethod · 0.80
getValueFunction · 0.50
clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected