Gromacs
2020.3
|
Functions | |
compat::string_view | getParentPathView (const std::string &input) |
Returns a view of the parent path (ie. directory components) of input ie. up to but excluding the last directory separator (if one exists). More... | |
compat::string_view | getFilenameView (const compat::string_view input) |
Returns a view of the filename in input ie. after the last directory separator (if one exists). More... | |
compat::string_view | getStemView (const std::string &input) |
Returns a view of the stem of the filename in input . More... | |
compat::string_view | getExtensionView (const compat::string_view input) |
Returns a view of the file extension of input , including the dot. More... | |
compat::string_view gmx::anonymous_namespace{path.cpp}::getExtensionView | ( | const compat::string_view | input | ) |
Returns a view of the file extension of input
, including the dot.
The search for the extension separator takes place only within the filename component, ie. omitting any leading directories.
compat::string_view gmx::anonymous_namespace{path.cpp}::getFilenameView | ( | const compat::string_view | input | ) |
Returns a view of the filename in
input ie. after the last directory separator (if one exists).
compat::string_view gmx::anonymous_namespace{path.cpp}::getParentPathView | ( | const std::string & | input | ) |
Returns a view of the parent path (ie. directory components) of input
ie. up to but excluding the last directory separator (if one exists).
compat::string_view gmx::anonymous_namespace{path.cpp}::getStemView | ( | const std::string & | input | ) |
Returns a view of the stem of the filename in input
.
The search for the extension separator takes place only within the filename component, ie. omitting any leading directories.