|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
Protected Member Functions |
Friends |
List of all members
Dune::Vtk::Path Class Reference
#include <dune/vtk/utility/filesystem.hh>
Inheritance diagram for Dune::Vtk::Path:

Public Member Functions | |
| Path ()=default | |
| template<class String > | |
| Path (String const &p) | |
| template<class InputIt > | |
| Path (InputIt it, InputIt end_it) | |
| template<class String > | |
| Path (std::initializer_list< String > const &list) | |
| Path & | removeFilename () |
| Removes filename path component. | |
| Path | parentPath () const |
| Returns the path of the parent path. | |
| Path | filename () const |
| Returns filename path component. | |
| Path | stem () const |
| Returns the stem path component. | |
| Path | extension () const |
| Returns the file extension path component. | |
| std::string | string () const |
| Return the path as string. | |
| bool | isAbsolute () const |
| bool | isRelative () const |
| bool | isFile () const |
| Check whether path is a regular file. | |
| bool | isDirectory () const |
| Check whether path is a regular file. | |
| bool | operator== (Path const &p) |
| Lexicographically compares two paths. | |
| Path & | operator/= (Path const &p) |
| Appends elements to the path. | |
| std::string | assign (std::string ... args) |
| std::string | at (std::string ... args) |
| std::string | back (std::string ... args) |
| std::string | begin (std::string ... args) |
| std::string | capacity (std::string ... args) |
| std::string | cbegin (std::string ... args) |
| std::string | cend (std::string ... args) |
| std::string | clear (std::string ... args) |
| std::string | crbegin (std::string ... args) |
| std::string | crend (std::string ... args) |
| std::string | data (std::string ... args) |
| std::string | emplace (std::string ... args) |
| std::string | emplace_back (std::string ... args) |
| std::string | empty (std::string ... args) |
| std::string | end (std::string ... args) |
| std::string | erase (std::string ... args) |
| std::string | front (std::string ... args) |
| std::string | get_allocator (std::string ... args) |
| std::string | insert (std::string ... args) |
| std::string | max_size (std::string ... args) |
| std::string | operator[] (std::string ... args) |
| std::string | pop_back (std::string ... args) |
| std::string | push_back (std::string ... args) |
| std::string | rbegin (std::string ... args) |
| std::string | rend (std::string ... args) |
| std::string | reserve (std::string ... args) |
| std::string | resize (std::string ... args) |
| std::string | shrink_to_fit (std::string ... args) |
| std::string | size (std::string ... args) |
| std::string | swap (std::string ... args) |
Static Public Member Functions | |
| static bool | isAbsolute (std::string p) |
| Return whether a path is an absolute path. | |
Public Attributes | |
| std::string | elements |
| STL member. | |
Static Public Attributes | |
| static constexpr char | preferredSeparator = '/' |
Protected Member Functions | |
| void | split (std::string p) |
Friends | |
| template<class CharT , class Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &out, Path const &p) |
| output of the path | |
Constructor & Destructor Documentation
◆ Path() [1/4]
|
default |
◆ Path() [2/4]
template<class String >
|
inline |
◆ Path() [3/4]
template<class InputIt >
|
inline |
◆ Path() [4/4]
template<class String >
|
inline |
Member Function Documentation
◆ extension()
| Path Dune::Vtk::Path::extension | ( | ) | const |
Returns the file extension path component.
◆ filename()
|
inline |
Returns filename path component.
◆ isAbsolute() [1/2]
|
inline |
◆ isAbsolute() [2/2]
|
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()
|
inline |
◆ operator/=()
◆ operator==()
|
inline |
Lexicographically compares two paths.
◆ parentPath()
|
inline |
Returns the path of the parent path.
◆ removeFilename()
|
inline |
Removes filename path component.
◆ split()
|
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.
Friends And Related Symbol Documentation
◆ operator<<
template<class CharT , class Traits >
|
friend |
output of the path
Member Data Documentation
◆ elements
|
inherited |
STL member.
◆ preferredSeparator
|
staticconstexpr |
The documentation for this class was generated from the following files:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8