40 void _assign(
const std::string & name_tv );
58 _assign( name_tv ? name_tv :
"" );
66 bool empty()
const {
return !name_t.size(); }
105 if ( &path_tv !=
this ) {
113 return( *
this = *
this + path_tv );
Pathname dirname() const
Definition: Pathname.h:70
static Pathname absolutename(const Pathname &name_tv)
Definition: Pathname.h:77
Pathname cat(const Pathname &r) const
Definition: Pathname.h:80
std::string basename() const
Definition: Pathname.h:71
std::ostream & operator<<(std::ostream &str, const Pathname &obj)
Definition: Pathname.cc:290
#define str
Definition: scanner.cc:997
Pathname & operator=(const Pathname &path_tv)
Definition: Pathname.h:104
Pathname extend(const std::string &r) const
Definition: Pathname.h:83
std::string name_t
Definition: Pathname.h:36
Definition: Pathname.h:31
bool operator==(const Pathname &l, const Pathname &r)
Definition: Pathname.h:92
Pathname()
Definition: Pathname.h:46
bool relative() const
Definition: Pathname.h:68
Pathname(const Pathname &path_tv)
Definition: Pathname.h:50
bool empty() const
Definition: Pathname.h:66
Pathname & operator+=(const Pathname &path_tv)
Definition: Pathname.h:112
std::string::size_type prfx_i
Definition: Pathname.h:35
Pathname absolutename() const
Definition: Pathname.h:72
Pathname(const std::string &name_tv)
Definition: Pathname.h:54
Pathname operator+(const Pathname &l, const Pathname &r)
Definition: Pathname.h:100
bool equal(const Pathname &r) const
Definition: Pathname.h:86
Pathname relativename() const
Definition: Pathname.h:73
Pathname(const char *name_tv)
Definition: Pathname.h:57
bool absolute() const
Definition: Pathname.h:67
void _assign(const std::string &name_tv)
Definition: Pathname.cc:128
virtual ~Pathname()
Definition: Pathname.h:44
static Pathname relativename(const Pathname &name_tv)
Definition: Pathname.h:78
bool operator!=(const Pathname &l, const Pathname &r)
Definition: Pathname.h:96
const std::string & asString() const
Definition: Pathname.h:64