#include <FileToolKit.h>
Public Member Functions | |
bool | fileExists (const std::string &fileName) |
FileToolKit () | |
void | InsertLineAfter (const std::string &fileName, const std::string &newLine, const std::string &searchLine) |
void | InsertLineBefore (const std::string &fileName, const std::string &newLine, const std::string &searchLine) |
int | MakeDir (std::string dirName, mode_t writeMode) |
void | MakeEmptyWebPage (const std::string &fileName, const std::string &title) |
void | Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=std::string(" ")) |
~FileToolKit () | |
Definition at line 8 of file FileToolKit.h.
|
inline |
Definition at line 11 of file FileToolKit.h.
|
inline |
Definition at line 12 of file FileToolKit.h.
bool FileToolKit::fileExists | ( | const std::string & | fileName | ) |
Definition at line 173 of file FileToolKit.cc.
References recoMuon::in.
void FileToolKit::InsertLineAfter | ( | const std::string & | fileName, |
const std::string & | newLine, | ||
const std::string & | searchLine | ||
) |
Definition at line 96 of file FileToolKit.cc.
References ntuplemaker::iline, recoMuon::in, and dbtoconf::out.
void FileToolKit::InsertLineBefore | ( | const std::string & | fileName, |
const std::string & | newLine, | ||
const std::string & | searchLine | ||
) |
int FileToolKit::MakeDir | ( | std::string | dirName, |
mode_t | writeMode | ||
) |
Definition at line 38 of file FileToolKit.cc.
References i, and Tokenize().
void FileToolKit::MakeEmptyWebPage | ( | const std::string & | fileName, |
const std::string & | title | ||
) |
void FileToolKit::Tokenize | ( | const std::string & | str, |
std::vector< std::string > & | tokens, | ||
const std::string & | delimiters = std::string(" ") |
||
) |
Definition at line 16 of file FileToolKit.cc.
References pos.
Referenced by MakeDir().