|
ug4
|
Implementation of OS independent file utility functions. More...
#include "common/util/file_util.h"#include "common/ug_config.h"#include "common/error.h"#include "common/assert.h"#include "common/profiler/profiler.h"#include "path_provider.h"#include <vector>#include <cstring>Namespaces | |
| namespace | ug |
| the ug namespace | |
Functions | |
| UG_API bool | ug::FileCompare (const char *file1, const char *file2) |
| !!! Serial i/o version !!! | |
| UG_API bool | ug::FileExists (const char *filename) |
| !!! Serial i/o version !!! | |
| bool | ug::FileTypeIs (const char *filename, const char *extension) |
| !!! Serial i/o version !!! | |
| std::string | ug::FindDirInStandardPaths (const char *dirname) |
| searches the directory in the standard paths. | |
| std::string | ug::FindFileInStandardPaths (const char *filename) |
| searches the file in the standard paths. | |
| string | ug::MakeTmpFile (string filename, const string &extension, bool &bSuccess) |
| !!! Serial i/o version !!! | |
| bool | ug::ReadFile (const char *filename, vector< char > &file, bool bText) |
Implementation of OS independent file utility functions.