| 198 | } |
| 199 | |
| 200 | void 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 | |
| 228 | void FileSequenceVectorParameter::getFileSequenceValues( std::vector<FileSequencePtr> &fileSequences ) const |
| 229 | { |