| 220 | } |
| 221 | |
| 222 | void FileSequence::fileNames( std::vector< std::string > &f ) const |
| 223 | { |
| 224 | f.clear(); |
| 225 | |
| 226 | boost::format posFmt = fileNameTemplate( false ); |
| 227 | boost::format negFmt = fileNameTemplate( true ); |
| 228 | |
| 229 | std::vector< FrameList::Frame > frames; |
| 230 | |
| 231 | m_frameList->asList( frames ); |
| 232 | |
| 233 | for ( std::vector< FrameList::Frame >::const_iterator it = frames.begin(); it != frames.end(); ++it ) |
| 234 | { |
| 235 | boost::format &fmt = *it < 0 ? negFmt : posFmt ; |
| 236 | f.push_back( ( fmt % *it ).str() ); |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | void FileSequence::clumpedFileNames( unsigned clumpSize, std::vector< std::vector < std::string > > &f ) const |
| 241 | { |