Functions | |
off_t | getFileSize (const string &fname) |
time_t | getFileModTime (const string &fname) |
void | setFileModTime (const string &fname, time_t mtime) |
bool | fileExists (const string &fname) |
string | getcwd () |
returns the full path name of the current working directory. More... | |
void | create_directory (const string &dirname, bool throw_if_exists) |
bool | dirExists (const string &dname) |
off_t | getFileSize (const std::string &fname) |
gets the file size. More... | |
time_t | getFileModTime (const std::string &fname) |
gets the file modification time. More... | |
void | setFileModTime (const std::string &fname, time_t mtime) |
sets the file modification time. More... | |
bool | fileExists (const std::string &fname) |
returns true if the file fname exists. More... | |
bool | dirExists (const std::string &dname) |
returns true if the directory dname exists. More... | |
void | create_directory (const std::string &dirname, bool throw_if_exists=false) |
create a directory. More... |
|
Definition at line 109 of file sys_dep.cpp. |
|
Definition at line 118 of file sys_dep.cpp. |
|
Definition at line 127 of file sys_dep.cpp. |
|
Definition at line 140 of file sys_dep.cpp. |
|
returns the full path name of the current working directory.
Definition at line 153 of file sys_dep.cpp. Referenced by ProgramInfo::setProgramPaths(). |
|
Definition at line 172 of file sys_dep.cpp. |
|
Definition at line 182 of file sys_dep.cpp. |
|
gets the file size.
|
|
gets the file modification time.
|
|
sets the file modification time.
|
|
returns true if the file
|
|
returns true if the directory
|
|
create a directory.
|
Contact me in case of errors or questions. This documentation is powered by ![]() |
(C) 2000-2002 ![]() |