ug4
|
#include <dirent.h>
#include <unistd.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "common/util/file_util.h"
#include "common/profiler/profiler.h"
#include "common/error.h"
Namespaces | |
ug | |
the ug namespace | |
Macros | |
#define | PATH_MAX 1024 |
Functions | |
UG_API void | ug::ChangeDirectory (std::string dir) |
Changes the current directory. More... | |
UG_API bool | ug::CreateDirectory (const char *directory) |
Creates a directory. More... | |
UG_API bool | ug::CreateDirectory (const char *directory, int mode) |
Creates a directory. More... | |
UG_API bool | ug::CreateDirectoryTMP (const char *directory) |
Creates a directory. More... | |
std::string | ug::CurrentWorkingDirectory () |
UG_API bool | ug::DirectoryExists (const char *dirname) |
Checks the existence of a given directory. More... | |
UG_API size_t | ug::FileSize (const char *filename) |
Returns size of the specified file in bytes. More... | |
UG_API bool | ug::GetDirectoriesInDirectory (std::vector< std::string > &dirsOut, const char *dir) |
Returns a list of all directories in a directory. More... | |
UG_API bool | ug::GetFilesInDirectory (std::vector< std::string > &filesOut, const char *dir) |
Returns a list of all files in a directory. More... | |
UG_API std::string | ug::GetTmpPath () |
Returns a path to which an application may write temporary files. More... | |
#define PATH_MAX 1024 |