70 const std::string
k_numbers =
"0123456789";
73 const size_t npos = std::string::npos;
101 warning <<
"Sequence mark but no sequence range in filename: "
110 warning <<
"Sequence mark preceded by single number: "
119 warning <<
"Sequence mark preceded by single number but no '-': "
129 warning <<
"No sequence start in filename: "
150 for (
int i =
start;
i <= end; ++
i) {
Contains the Field3DFile classes.
bool fileExists(const std::string &filename)
checks to see if a file/directory exists or not
Contains the FileSequence class which can be used to turn strings such as "file.1-20#....
Contains the Log class which can be used to redirect output to an arbitrary destination.
const std::string & filename(const size_t idx) const
Returns a single filename.
std::vector< std::string > m_filenames
Stores the resulting filenames.
FileSequence()
Default constructor. Creates an empty sequence.
FIELD3D_API void print(Severity severity, const std::string &message)
Sends the string to the assigned output, prefixing the message with the severity.
#define FIELD3D_NAMESPACE_SOURCE_CLOSE