#include <stfs.h>
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 () |
This class include static functions which gives informations about files and allows to create and remove directories.
StFs::StFs | ( | ) |
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.