a class to interpret numbered filenames
More...
#include "file/name_parser.h"
a class to interpret numbered filenames
Definition at line 32 of file name_parser.h.
◆ calculate_padding()
void MR::File::NameParser::calculate_padding |
( |
const vector< uint32_t > & |
maxvals | ) |
|
◆ get_next_match()
std::string MR::File::NameParser::get_next_match |
( |
vector< uint32_t > & |
indices, |
|
|
bool |
return_seq_index = false |
|
) |
| |
◆ index_of_sequence()
size_t MR::File::NameParser::index_of_sequence |
( |
size_t |
number = 0 | ) |
const |
|
inline |
◆ match()
bool MR::File::NameParser::match |
( |
const std::string & |
file_name, |
|
|
vector< uint32_t > & |
indices |
|
) |
| const |
◆ name()
std::string MR::File::NameParser::name |
( |
const vector< uint32_t > & |
indices | ) |
|
◆ ndim()
size_t MR::File::NameParser::ndim |
( |
| ) |
const |
|
inline |
◆ num()
size_t MR::File::NameParser::num |
( |
| ) |
const |
|
inline |
◆ operator[]()
const Item & MR::File::NameParser::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
◆ parse()
void MR::File::NameParser::parse |
( |
const std::string & |
imagename, |
|
|
size_t |
max_num_sequences = std::numeric_limits< size_t >::max() |
|
) |
| |
◆ sequence()
const vector< uint32_t > & MR::File::NameParser::sequence |
( |
size_t |
index | ) |
const |
|
inline |
◆ spec()
std::string MR::File::NameParser::spec |
( |
| ) |
const |
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
const NameParser & |
parser |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: