Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Pathname Class Reference

#include <Pathname.h>

List of all members.

Public Member Functions

virtual ~Pathname ()
 Pathname ()
 Pathname (const Pathname &path_tv)
 Pathname (const std::string &name_tv)
 Pathname (const char *name_tv)
Pathnameoperator= (const Pathname &path_tv)
Pathnameoperator+= (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

Pathname dirname (const Pathname &name_tv)
std::string basename (const Pathname &name_tv)
Pathname absolutename (const Pathname &name_tv)
Pathname relativename (const Pathname &name_tv)
Pathname cat (const Pathname &l, const Pathname &r)
Pathname extend (const Pathname &l, const std::string &r)
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


Constructor & Destructor Documentation

virtual Pathname::~Pathname  )  [inline, virtual]
 

Pathname::Pathname  )  [inline]
 

Pathname::Pathname const Pathname path_tv  )  [inline]
 

Pathname::Pathname const std::string &  name_tv  )  [inline]
 

Pathname::Pathname const char *  name_tv  )  [inline]
 


Member Function Documentation

void Pathname::_assign const std::string &  name_tv  )  [protected]
 

bool Pathname::absolute  )  const [inline]
 

Pathname Pathname::absolutename const Pathname name_tv  )  [inline, static]
 

Pathname Pathname::absolutename  )  const [inline]
 

const std::string& Pathname::asString  )  const [inline]
 

string Pathname::basename const Pathname name_tv  )  [static]
 

std::string Pathname::basename  )  const [inline]
 

Pathname Pathname::cat const Pathname l,
const Pathname r
[static]
 

Pathname Pathname::cat const Pathname r  )  const [inline]
 

Pathname Pathname::dirname const Pathname name_tv  )  [static]
 

Pathname Pathname::dirname  )  const [inline]
 

bool Pathname::empty  )  const [inline]
 

bool Pathname::equal const Pathname l,
const Pathname r
[static]
 

bool Pathname::equal const Pathname r  )  const [inline]
 

Pathname Pathname::extend const Pathname l,
const std::string &  r
[static]
 

Pathname Pathname::extend const std::string &  r  )  const [inline]
 

Pathname & Pathname::operator+= const Pathname path_tv  )  [inline]
 

Pathname & Pathname::operator= const Pathname path_tv  )  [inline]
 

bool Pathname::relative  )  const [inline]
 

Pathname Pathname::relativename const Pathname name_tv  )  [inline, static]
 

Pathname Pathname::relativename  )  const [inline]
 


Member Data Documentation

std::string Pathname::name_t [private]
 

std::string::size_type Pathname::prfx_i [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 23:56:11 2006 for liby2util by doxygen 1.3.6