|
Gromacs
2022.3
|
Functions | |
| std::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... | |
| std::string_view | getFilenameView (const std::string_view input) |
Returns a view of the filename in input ie. after the last directory separator (if one exists). More... | |
| std::string_view | getStemView (const std::string &input) |
Returns a view of the stem of the filename in input. More... | |
| std::string_view | getExtensionView (const std::string_view input) |
Returns a view of the file extension of input, including the dot. More... | |
| std::string_view gmx::anonymous_namespace{path.cpp}::getExtensionView | ( | const std::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.
| std::string_view gmx::anonymous_namespace{path.cpp}::getFilenameView | ( | const std::string_view | input | ) |
Returns a view of the filename in input ie. after the last directory separator (if one exists).
| std::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).
| std::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.
1.8.5