Puma Reference Manual Puma::Filename Class Reference



Puma::Filename Class Reference

#include <Filename.h>

Inheritance diagram for Puma::Filename:
Inheritance graph

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. More...
 
- Public Member Functions inherited from Puma::SmartPtr
 SmartPtr ()
 
 ~SmartPtr ()
 
 SmartPtr (const SmartPtr &copy)
 
 SmartPtr (RefCnt *rc)
 
SmartPtroperator= (const SmartPtr &copy)
 
void data (RefCnt *d)
 
void clear ()
 
RefCntdata () const
 
bool is_defined () const
 
- Public Member Functions inherited from Puma::Printable
virtual ~Printable ()
 Destructor. More...
 

Constructor & Destructor Documentation

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

Member Function Documentation

bool Puma::Filename::is_absolute ( ) const
inline
void Puma::Filename::name ( const char *  n)
inline
const char * Puma::Filename::name ( ) const
inline
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
inline
bool Puma::Filename::operator~ ( ) const
inline
const char * Puma::Filename::path ( ) const
inline
virtual void Puma::Filename::print ( ostream &  os) const
inlinevirtual

Print something on the given output stream.

Parameters
osThe output stream.

Implements Puma::Printable.

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



Puma Reference Manual. Created on Mon Oct 21 2013.