15 #ifndef vtkFileSeriesUtilities_h 16 #define vtkFileSeriesUtilities_h 37 size_t pos = version.find(
'.');
38 if (pos == std::string::npos)
42 if (std::atoi(version.substr(0, pos).c_str()) > FILE_SERIES_VERSION_MAJ)
46 if (version.size() < pos)
50 if (std::atoi(version.substr(pos + 1).c_str()) > FILE_SERIES_VERSION_MIN)
const std::string FILE_SERIES_VERSION
Const variable describing the file series version currently in use.
constexpr int FILE_SERIES_VERSION_MAJ
Const variable describing the file series version currently in use.
constexpr int FILE_SERIES_VERSION_MIN
Const variable describing the file series version currently in use.
bool CheckVersion(const std::string &version)
Inline method to check a provided version against current version in use Return true if current versi...