Main Page | Namespace List | Class Hierarchy | Class List | Directories | 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)
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


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]
 

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

Pathname Pathname::absolutename (   )  const [inline]
 

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

static std::string Pathname::basename (  const Pathname &  name_tv  )  [static]
 

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

static Pathname Pathname::cat (  const Pathname &  l,
const Pathname &  r
)  [static]
 

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

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

Pathname Pathname::dirname (   )  const [inline]
 

bool Pathname::empty (   )  const [inline]
 

static bool Pathname::equal (  const Pathname &  l,
const Pathname &  r
)  [static]
 

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

static 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]
 

static 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 file:
Generated on Fri Feb 24 00:30:02 2006 for liby2util by  doxygen 1.4.4