vsg
1.1.0
VulkanSceneGraph library
|
#include <Path.h>
Public Member Functions | |
Path (const Path &path) | |
Path (const std::string &str) | |
Path (const char *str) | |
Path (const std::wstring &str) | |
Path (const wchar_t *str) | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
Path & | assign (const Path &path) |
Path & | assign (const std::string &str) |
Path & | assign (const char *str) |
Path & | assign (const std::wstring &str) |
Path & | assign (const wchar_t *str) |
Path & | operator= (const Path &path) |
Path & | operator= (const std::string &str) |
Path & | operator= (const char *str) |
Path & | operator= (const std::wstring &str) |
Path & | operator= (const wchar_t *str) |
int | compare (const Path &rhs) const |
int | compare (size_type pos, size_type n, const Path &rhs) const |
int | compare (const char *rhs) const |
int | compare (const wchar_t *rhs) const |
int | compare (size_type pos, size_type n, const char *rhs) const |
int | compare (size_type pos, size_type n, const wchar_t *rhs) const |
bool | operator== (const Path &rhs) const |
bool | operator!= (const Path &rhs) const |
bool | operator< (const Path &rhs) const |
bool | operator== (const char *rhs) const |
bool | operator!= (const char *rhs) const |
bool | operator== (const wchar_t *rhs) const |
bool | operator!= (const wchar_t *rhs) const |
operator bool () const noexcept | |
bool | empty () const |
size_type | size () const |
size_type | length () const |
std::string | string () const |
std::wstring | wstring () const |
const string_type & | native () const noexcept |
operator const string_type & () const noexcept | |
const value_type * | c_str () const noexcept |
reference | operator[] (size_type pos) |
const_reference | operator[] (size_type pos) const |
void | clear () noexcept |
void | swap (Path &rhs) noexcept |
Path & | concat (const Path &path) |
directly add to end of path without a path separator | |
Path & | concat (char c) |
directly add to end of path without a path separator | |
Path & | operator+= (const Path &path) |
directly add to end of path without a path separator | |
Path & | append (const Path &path) |
add to end of path with path separator | |
Path & | operator/= (const Path &path) |
add to end of path with path separator | |
Path | substr (size_type pos, size_type len=Path::npos) const |
size_type | find (const Path &s, size_type pos=0) const |
size_type | find (const char *s, size_type pos=0) const |
size_type | find (const wchar_t *s, size_type pos=0) const |
size_type | find_first_of (const Path &s, size_type pos=0) const |
size_type | find_first_of (const char *s, size_type pos=0) const |
size_type | find_first_of (const char c, size_type pos=0) const |
size_type | find_first_of (const wchar_t *s, size_type pos=0) const |
size_type | find_first_of (const wchar_t c, size_type pos=0) const |
size_type | find_last_of (const Path &s, size_type pos=npos) const |
size_type | find_last_of (const char *s, size_type pos=npos) const |
size_type | find_last_of (const char c, size_type pos=npos) const |
size_type | find_last_of (const wchar_t *s, size_type pos=npos) const |
size_type | find_last_of (const wchar_t c, size_type pos=npos) const |
Path & | replace (size_type pos, size_type n, const Path &str) |
Path & | replace (size_type pos, size_type n, const std::string &str) |
Path & | replace (size_type pos, size_type n, const std::wstring &str) |
Path & | replace (size_type pos, size_type n, const char *str) |
Path & | replace (size_type pos, size_type n, const wchar_t *str) |
Path & | erase (size_t pos=0, size_t len=Path::npos) |
FileType | type () const |
Path | lexically_normal () const |
Protected Attributes | |
string_type | _string |
Class for managing paths/filenames with full support for wide and single width path strings. Similar in role and features to std::filesystem::path, but is able to work on older compilers.