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

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]

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

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

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

bool Pathname::empty (  )  const [inline]

bool Pathname::absolute (  )  const [inline]

bool Pathname::relative (  )  const [inline]

Pathname Pathname::dirname (  )  const [inline]

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

Pathname Pathname::absolutename (  )  const [inline]

Pathname Pathname::relativename (  )  const [inline]

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

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

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

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

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

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

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

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

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

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


Member Data Documentation

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

std::string Pathname::name_t [private]


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 22:35:03 2007 for liby2util by  doxygen 1.5.3