TwiceAsNice  2019-02-18
Functions
Nice::FileHelper Namespace Reference

Functions

int chkdir (const std::string &_dirname)
 
int mkdir (const std::string &_dirname)
 
int chkfile (const std::string &_filename)
 
int removePidFile (const std::string &_name)
 
int createPidFile (const std::string &_name)
 
int checkPidFile (const std::string &_name)
 
int killProcess (const std::string &_name)
 
int getFreeSpace (const std::string &_name)
 
std::string getAbsPath (const std::string &p)
 
int writeLock (int fd)
 
int readLock (int fd)
 
int unLock (int fd)
 
std::string expandTimeString (std::string _name)
 
std::string createIncFitsFilename (const std::string &_dirname, const std::string &_filename, bool=false)
 

Function Documentation

◆ checkPidFile()

int Nice::FileHelper::checkPidFile ( const std::string &  _name)

◆ chkdir()

int Nice::FileHelper::chkdir ( const std::string &  _dirname)

◆ chkfile()

int Nice::FileHelper::chkfile ( const std::string &  _filename)

◆ createIncFitsFilename()

std::string Nice::FileHelper::createIncFitsFilename ( const std::string &  _dirname,
const std::string &  _filename,
bool  = false 
)

◆ createPidFile()

int Nice::FileHelper::createPidFile ( const std::string &  _name)

◆ expandTimeString()

std::string Nice::FileHelper::expandTimeString ( std::string  _name)

◆ getAbsPath()

std::string Nice::FileHelper::getAbsPath ( const std::string &  p)

◆ getFreeSpace()

int Nice::FileHelper::getFreeSpace ( const std::string &  _name)

◆ killProcess()

int Nice::FileHelper::killProcess ( const std::string &  _name)

◆ mkdir()

int Nice::FileHelper::mkdir ( const std::string &  _dirname)

◆ readLock()

int Nice::FileHelper::readLock ( int  fd)

◆ removePidFile()

int Nice::FileHelper::removePidFile ( const std::string &  _name)

◆ unLock()

int Nice::FileHelper::unLock ( int  fd)

◆ writeLock()

int Nice::FileHelper::writeLock ( int  fd)