#include <easylogging++.h>
Static Public Member Functions | |
static void | buildBaseFilename (const std::string &fullPath, char buff[], std::size_t limit=base::consts::kSourceFilenameMaxLength, const char *seperator=base::consts::kFilePathSeperator) |
builds base filename and puts it in buff More... | |
static void | buildStrippedFilename (const char *filename, char buff[], std::size_t limit=base::consts::kSourceFilenameMaxLength) |
builds stripped filename and puts it in buff More... | |
static bool | createPath (const std::string &path) |
Creates specified path on file system. More... | |
static std::string | extractPathFromFilename (const std::string &fullPath, const char *seperator=base::consts::kFilePathSeperator) |
Extracts path of filename with leading slash. More... | |
static std::size_t | getSizeOfFile (base::type::fstream_t *fs) |
Gets size of file provided in stream. More... | |
static base::type::fstream_t * | newFileStream (const std::string &filename) |
Creates new out file stream for specified filename. More... | |
static bool | pathExists (const char *path, bool considerFile=false) |
Determines whether or not provided path exist in current file system. More... | |
Definition at line 1032 of file easylogging++.h.
|
static |
builds base filename and puts it in buff
Definition at line 862 of file easylogging++.cc.
|
static |
builds stripped filename and puts it in buff
Definition at line 850 of file easylogging++.cc.
|
static |
Creates specified path on file system.
path | Path to create. |
Definition at line 799 of file easylogging++.cc.
|
static |
Extracts path of filename with leading slash.
Definition at line 839 of file easylogging++.cc.
|
static |
Gets size of file provided in stream.
Definition at line 772 of file easylogging++.cc.
|
static |
Creates new out file stream for specified filename.
Definition at line 748 of file easylogging++.cc.
|
static |
Determines whether or not provided path exist in current file system.
Definition at line 782 of file easylogging++.cc.