slic::FileUtil Class Reference

#include <FileUtil.hh>

List of all members.


Detailed Description

Utilities for file manipulation using std.

Definition at line 16 of file FileUtil.hh.


Static Public Member Functions

static int removeFile (const char *filename)
static int removeFile (const std::string &filename)
static bool fileExists (const char *filename)
static bool fileExists (const std::string &filename)
static std::string basename (std::string fn)
static std::string extension (std::string fn)
static std::string removeExtension (std::string ext)

Member Function Documentation

int slic::FileUtil::removeFile ( const char *  filename  )  [static]

Definition at line 15 of file FileUtil.cc.

Referenced by slic::LcioManager::openLcioFile(), and removeFile().

int slic::FileUtil::removeFile ( const std::string &  filename  )  [static]

Definition at line 21 of file FileUtil.cc.

References removeFile().

bool slic::FileUtil::fileExists ( const char *  filename  )  [static]

Definition at line 26 of file FileUtil.cc.

Referenced by fileExists(), slic::LcioManager::openLcioFile(), and slic::EventSourceWithInputFile::setFilename().

bool slic::FileUtil::fileExists ( const std::string &  filename  )  [static]

Definition at line 41 of file FileUtil.cc.

References fileExists().

std::string slic::FileUtil::basename ( std::string  fn  )  [static]

Definition at line 46 of file FileUtil.cc.

Referenced by slic::LcioFileNamer::makeFileBasedName().

std::string slic::FileUtil::extension ( std::string  fn  )  [static]

Definition at line 71 of file FileUtil.cc.

Referenced by slic::EventSourceManager::setFilename().

std::string slic::FileUtil::removeExtension ( std::string  ext  )  [static]

Definition at line 86 of file FileUtil.cc.

Referenced by slic::LcioFileNamer::makeFileBasedName().


The documentation for this class was generated from the following files:
Generated on Thu Nov 15 15:24:38 2007 for Simulator for the Linear Collider by  doxygen 1.5.4