MPMA::Filename Class Reference

Construct this with a non-absolute filename using either windows or linux style, to generate a filename for whatever platform this is running on. Filenames that begin with ~ are relative to the users home directory. More...

#include <File.h>

List of all members.

Public Member Functions

 Filename (const std::string &filename)
 ctor
 Filename (const char *filename)
 ctor
 operator const std::string & () const
 Gets a string that represents the filename.
const char * c_str () const
 Gets a c string that represents the filename.
Directory GetPath () const
 Gets the path containing this file.
std::string GetFilenameNoPath (bool includeExtension=true) const
 Gets the name of this file, without the path.
std::string GetFilenameExtension () const
 Gets the extension of a filename.


Detailed Description

Construct this with a non-absolute filename using either windows or linux style, to generate a filename for whatever platform this is running on. Filenames that begin with ~ are relative to the users home directory.
The documentation for this class was generated from the following files:

Generated on Sat Aug 9 15:05:11 2008 for MPMA Framework by  doxygen 1.5.6