StFs Class Reference

Give informations about files and manage on directiories. More...

#include <stfs.h>

List of all members.

Public Member Functions

 StFs ()

Static Public Member Functions

static bool fileExists (const StString &fileName, bool followSymLinks=false)
static bool isDirectory (const StString &fileName, bool followSymLinks=false)
static bool isSymLink (const StString &fileName, bool followSymLinks=false)
static bool isRegular (const StString &fileName, bool followSymLinks=false)
static bool isCharacterDevice (const StString &fileName, bool followSymLinks=false)
static bool isBlockDevice (const StString &fileName, bool followSymLinks=false)
static bool isFifo (const StString &fileName, bool followSymLinks=false)
static bool isSocket (const StString &fileName, bool followSymLinks=false)
static bool isReadable (const StString &fileName, bool followSymLinks=false)
static bool isWriteable (const StString &fileName, bool followSymLinks=false)
static bool isExecutable (const StString &fileName, bool followSymLinks=false)
static bool createDirectory (const StString &filename, bool recursively=false)
static bool mkdir (const StString &filename, bool recursively=false)
static bool remove (const StString &fileName, bool recursively=false)

Private Member Functions

void init ()


Detailed Description

Give informations about files and manage on directiories.

This class include static functions which gives informations about files and allows to create and remove directories.


Constructor & Destructor Documentation

StFs::StFs (  ) 


Member Function Documentation

static bool StFs::createDirectory ( const StString filename,
bool  recursively = false 
) [inline, static]

Domain of mkdir().

static bool StFs::fileExists ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

void StFs::init (  )  [private]

static bool StFs::isBlockDevice ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isCharacterDevice ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isDirectory ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isExecutable ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isFifo ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isReadable ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isRegular ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isSocket ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isSymLink ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

static bool StFs::isWriteable ( const StString fileName,
bool  followSymLinks = false 
) [inline, static]

bool StFs::mkdir ( const StString filename,
bool  recursively = false 
) [static]

Create directory.

bool StFs::remove ( const StString fileName,
bool  recursively = false 
) [static]

Remove directory.


The documentation for this class was generated from the following files:
Generated on Tue Nov 14 21:15:09 2006 for Smart Tools Library by  doxygen 1.4.7