#include <dune/vtk/utility/filesystem.hh>
|
static bool | isAbsolute (std::string p) |
| Return whether a path is an absolute path. More...
|
|
|
void | split (std::string p) |
|
◆ Path() [1/4]
Dune::Vtk::Path::Path |
( |
| ) |
|
|
default |
◆ Path() [2/4]
template<class String >
Dune::Vtk::Path::Path |
( |
String const & |
p | ) |
|
|
inline |
◆ Path() [3/4]
template<class InputIt >
Dune::Vtk::Path::Path |
( |
InputIt |
it, |
|
|
InputIt |
end_it |
|
) |
| |
|
inline |
◆ Path() [4/4]
template<class String >
Dune::Vtk::Path::Path |
( |
std::initializer_list< String > const & |
list | ) |
|
|
inline |
◆ extension()
Path Dune::Vtk::Path::extension |
( |
| ) |
const |
Returns the file extension path component.
◆ filename()
Path Dune::Vtk::Path::filename |
( |
| ) |
const |
|
inline |
Returns filename path component.
◆ isAbsolute() [1/2]
bool Dune::Vtk::Path::isAbsolute |
( |
| ) |
const |
|
inline |
◆ isAbsolute() [2/2]
bool Dune::Vtk::Path::isAbsolute |
( |
std::string |
p | ) |
|
|
static |
Return whether a path is an absolute path.
In Linux, test whether the path starts with /
, in Windows whether it starts with [a-z]:\\
.
◆ isDirectory()
bool Dune::Vtk::Path::isDirectory |
( |
| ) |
const |
Check whether path is a regular file.
◆ isFile()
bool Dune::Vtk::Path::isFile |
( |
| ) |
const |
Check whether path is a regular file.
◆ isRelative()
bool Dune::Vtk::Path::isRelative |
( |
| ) |
const |
|
inline |
◆ operator/=()
Path & Dune::Vtk::Path::operator/= |
( |
Path const & |
p | ) |
|
Appends elements to the path.
◆ operator==()
bool Dune::Vtk::Path::operator== |
( |
Path const & |
p | ) |
|
|
inline |
Lexicographically compares two paths.
◆ parentPath()
Path Dune::Vtk::Path::parentPath |
( |
| ) |
const |
|
inline |
Returns the path of the parent path.
◆ removeFilename()
Path & Dune::Vtk::Path::removeFilename |
( |
| ) |
|
|
inline |
Removes filename path component.
◆ split()
void Dune::Vtk::Path::split |
( |
std::string |
p | ) |
|
|
protected |
◆ stem()
Path Dune::Vtk::Path::stem |
( |
| ) |
const |
Returns the stem path component.
◆ string()
std::string Dune::Vtk::Path::string |
( |
| ) |
const |
Return the path as string.
◆ elements
T std::vector< T >::elements |
|
inherited |
◆ preferredSeparator
constexpr char Dune::Vtk::Path::preferredSeparator = '/' |
|
staticconstexpr |
The documentation for this class was generated from the following files: