MPD
0.20.18
|
This class describes the nature of a MPD internal filesystem path. More...
#include <Traits.hxx>
Public Types | |
typedef std::string | string |
typedef string::traits_type | char_traits |
typedef char_traits::char_type | value_type |
typedef value_type * | pointer_type |
typedef const value_type * | const_pointer_type |
Static Public Attributes | |
static constexpr value_type | SEPARATOR = '/' |
static constexpr const_pointer_type | CURRENT_DIRECTORY = "." |
This class describes the nature of a MPD internal filesystem path.
Definition at line 166 of file Traits.hxx.
typedef string::traits_type PathTraitsUTF8::char_traits |
Definition at line 168 of file Traits.hxx.
typedef const value_type* PathTraitsUTF8::const_pointer_type |
Definition at line 171 of file Traits.hxx.
typedef value_type* PathTraitsUTF8::pointer_type |
Definition at line 170 of file Traits.hxx.
typedef std::string PathTraitsUTF8::string |
Definition at line 167 of file Traits.hxx.
typedef char_traits::char_type PathTraitsUTF8::value_type |
Definition at line 169 of file Traits.hxx.
|
staticnoexcept |
Constructs the path from the given components.
If either of the components is empty string, remaining component is returned unchanged. If both components are empty strings, empty string is returned.
|
inlinestaticnoexcept |
Definition at line 258 of file Traits.hxx.
|
inlinestaticnoexcept |
Definition at line 218 of file Traits.hxx.
|
inlinestaticnoexcept |
Definition at line 182 of file Traits.hxx.
|
staticnoexcept |
Determine the "base" file name of the given UTF-8 path.
The return value points inside the given string.
|
inlinestaticnoexcept |
Definition at line 213 of file Traits.hxx.
|
staticnoexcept |
Determine the "parent" file name of the given UTF-8 path.
As a special case, returns the string "." if there is no separator in the given input string.
|
inlinestaticnoexcept |
Definition at line 199 of file Traits.hxx.
|
inlinestatic |
Definition at line 177 of file Traits.hxx.
|
staticnoexcept |
Determine the relative part of the given path to this object, not including the directory separator.
Returns an empty string if the given path equals this object or nullptr on mismatch.
|
static |
Definition at line 175 of file Traits.hxx.
|
static |
Definition at line 173 of file Traits.hxx.