FREE::FileDispatch Class Reference

#include <freFileDispatch.h>

List of all members.

Public Member Functions

std::string GetName ()
std::string GetExtension ()
std::string GetFullName ()
std::string GetPath ()
 FileDispatch (const std::string &sFilePath)

Static Public Member Functions

static std::string GetName (const std::string &sFilePath)
static std::string GetExtension (const std::string &sFilePath)
static std::string GetFullName (const std::string &sFilePath)
static std::string GetPath (const std::string &sFilePath)
static std::string CreateFullPath (const char *path, const char *file)

Private Attributes

std::string m_sFileName


Detailed Description

Definition at line 31 of file freFileDispatch.h.


Constructor & Destructor Documentation

FREE::FileDispatch::FileDispatch ( const std::string &  sFilePath  ) 

Definition at line 91 of file freFileDispatch.cxx.

References m_sFileName.


Member Function Documentation

std::string FREE::FileDispatch::GetName ( const std::string &  sFilePath  )  [static]

Returns the name of the file (without extension).

Definition at line 31 of file freFileDispatch.cxx.

std::string FREE::FileDispatch::GetExtension ( const std::string &  sFilePath  )  [static]

Returns the extansion of the file (dot included).

Definition at line 39 of file freFileDispatch.cxx.

Referenced by FREE::ImageReader< TInputPixel, TOutputPixel, iDimension >::Load3D(), and FREE::ImageWriter< TInputPixel, TOutputPixel, iDimension >::Save3D().

std::string FREE::FileDispatch::GetFullName ( const std::string &  sFilePath  )  [static]

Returns name of the file plus extension.

Definition at line 47 of file freFileDispatch.cxx.

std::string FREE::FileDispatch::GetPath ( const std::string &  sFilePath  )  [static]

Returns the directory the file is located in (without trailing slash).

Definition at line 55 of file freFileDispatch.cxx.

Referenced by FREE::ImageReader< TInputPixel, TOutputPixel, iDimension >::Load3D().

std::string FREE::FileDispatch::CreateFullPath ( const char *  path,
const char *  file 
) [static]

Helper function to concat path and file into a full path

A file scope helper function to concat path and file into a full path

make sure the end of path is a separator

Definition at line 102 of file freFileDispatch.cxx.

std::string FREE::FileDispatch::GetName (  ) 

Definition at line 64 of file freFileDispatch.cxx.

References m_sFileName.

std::string FREE::FileDispatch::GetExtension (  ) 

Definition at line 71 of file freFileDispatch.cxx.

References m_sFileName.

std::string FREE::FileDispatch::GetFullName (  ) 

Definition at line 78 of file freFileDispatch.cxx.

References m_sFileName.

std::string FREE::FileDispatch::GetPath (  ) 

Definition at line 85 of file freFileDispatch.cxx.

References m_sFileName.


Member Data Documentation

std::string FREE::FileDispatch::m_sFileName [private]

Definition at line 55 of file freFileDispatch.h.

Referenced by FileDispatch(), GetExtension(), GetFullName(), GetName(), and GetPath().


The documentation for this class was generated from the following files:
Generated at Sat Oct 13 18:17:26 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000