Puma Reference Manual Puma: Puma::Filename Class Reference



Puma::Filename Class Reference

#include <Filename.h>

Inherits Puma::SmartPtr, and Puma::Printable.

List of all members.

Public Member Functions

 Filename ()
 Filename (const char *n)
Filenameoperator= (const char *n)
bool operator~ () const
void name (const char *n)
const char * name () const
const char * path () const
const char * root () const
bool is_absolute () const
bool operator== (const Filename &f) const
bool operator!= (const Filename &f) const
virtual void print (ostream &os) const
 Print something on the given output stream.

Constructor & Destructor Documentation

Puma::Filename::Filename (  )  [inline]
Puma::Filename::Filename ( const char *  n  )  [inline]

Member Function Documentation

bool Puma::Filename::is_absolute (  )  const
const char* Puma::Filename::name (  )  const
void Puma::Filename::name ( const char *  n  ) 
bool Puma::Filename::operator!= ( const Filename f  )  const [inline]
Filename& Puma::Filename::operator= ( const char *  n  )  [inline]
bool Puma::Filename::operator== ( const Filename f  )  const
bool Puma::Filename::operator~ (  )  const [inline]
const char* Puma::Filename::path (  )  const
virtual void Puma::Filename::print ( ostream &  os  )  const [inline, virtual]

Print something on the given output stream.

Parameters:
os The output stream.

Implements Puma::Printable.

const char* Puma::Filename::root (  )  const



Puma Reference Manual. Created on 18 Sep 2009.