|
template<typename ... TT> |
| FilePath (const TT &... args) |
| Constructor.
|
|
| FilePath (const FilePath &s) |
| Copy constructor. More...
|
|
void | clear () |
|
template<typename ... TT> |
void | set (const TT &... args) |
|
template<typename T , typename ... TT> |
void | append (const T &arg, const TT &... args) |
|
void | append (const FilePath &path) |
| Appends directory and sets filename (basename and extension).
|
|
void | append (const std::string &s) |
| Extracts at least filename. If the string contains leading dir elements, \i append them to this->dir .
|
|
void | append () |
|
bool | operator== (const FilePath &p) const |
|
virtual std::ostream & | toStream (std::ostream &ostr) const |
| Directory path separator.
|
|
virtual std::string | str () const |
|
FilePath & | operator<< (const FilePath &path) |
|
Extracts and stores directory path, base filename and extension.
Upon construction and after setting, splits a full path string to
dir
- directory path (Path<std::string>)
basename
- filename without directory path and extension
ext
- extension, without dot (png, txt