yast2-core
|
#include <Pathname.h>
Public Member Functions | |
virtual | ~Pathname () |
Pathname () | |
Pathname (const Pathname &path_tv) | |
Pathname (const std::string &name_tv) | |
Pathname (const char *name_tv) | |
Pathname & | operator= (const Pathname &path_tv) |
Pathname & | operator+= (const Pathname &path_tv) |
const std::string & | asString () const |
bool | empty () const |
bool | absolute () const |
bool | relative () const |
Pathname | dirname () const |
std::string | basename () const |
Pathname | absolutename () const |
Pathname | relativename () const |
Pathname | cat (const Pathname &r) const |
Pathname | extend (const std::string &r) const |
bool | equal (const Pathname &r) const |
Static Public Member Functions | |
static Pathname | dirname (const Pathname &name_tv) |
static std::string | basename (const Pathname &name_tv) |
static Pathname | absolutename (const Pathname &name_tv) |
static Pathname | relativename (const Pathname &name_tv) |
static Pathname | cat (const Pathname &l, const Pathname &r) |
static Pathname | extend (const Pathname &l, const std::string &r) |
static bool | equal (const Pathname &l, const Pathname &r) |
Protected Member Functions | |
void | _assign (const std::string &name_tv) |
Private Attributes | |
std::string::size_type | prfx_i |
std::string | name_t |
|
inlinevirtual |
|
inline |
References _assign().
|
inline |
References _assign().
|
protected |
References DirStack::Push(), and DirStack::str().
Referenced by Pathname().
|
inline |
References empty(), name_t, and prfx_i.
Referenced by relativename().
|
inline |
References absolutename().
Referenced by absolutename().
References cat(), and relative().
|
inline |
References name_t.
Referenced by PathInfo::assert_dir(), PathInfo::asString(), basename(), cat(), PathInfo::chmod(), PathInfo::copy(), PathInfo::copy_dir(), PathInfo::copy_file2dir(), equal(), extend(), ExternalProgram::ExternalProgram(), PathInfo::hardlink(), PathInfo::mkdir(), PathInfo::operator()(), operator<<(), PathInfo::rename(), PathInfo::symlink(), and PathInfo::zipType().
|
inline |
References basename().
Referenced by basename(), and PathInfo::copy_dir().
|
static |
References asString(), empty(), and prfx_i.
References cat().
Referenced by absolutename(), cat(), operator+(), and relativename().
References asString(), empty(), and prfx_i.
|
inline |
References dirname().
Referenced by dirname(), and open_logfile().
|
inline |
References name_t.
Referenced by absolute(), PathInfo::assert_dir(), basename(), cat(), dirname(), ExternalProgram::ExternalProgram(), PathInfo::operator()(), and relative().
|
inline |
References equal().
Referenced by equal(), operator!=(), and operator==().
References asString().
|
inline |
References asString().
|
inline |
References empty(), name_t, and prfx_i.
Referenced by absolutename(), and PathInfo::assert_dir().
|
inline |
References relativename().
Referenced by relativename().
References absolute(), and cat().
|
private |
Referenced by absolute(), asString(), dirname(), empty(), operator=(), Pathname(), and relative().
|
private |
Referenced by absolute(), basename(), cat(), dirname(), operator=(), Pathname(), and relative().