|
TrueReality
v0.1.1912
|
#include <trUtil/FileUtils.h>#include <trUtil/Exception.h>#include <trUtil/PlatformMacros.h>#include <trUtil/StringUtils.h>#include <trUtil/Logging/Log.h>#include <osg/Version>#include <osg/Notify>#include <osgDB/Archive>#include <osgDB/FileNameUtils>#include <osgDB/FileUtils>#include <osgDB/ReadFile>#include <sys/types.h>#include <sys/stat.h>#include <stdexcept>#include <algorithm>#include <iostream>#include <memory>#include <cstdio>#include <string>#include <stack>#include <sys/param.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <queue>
Go to the source code of this file.
Classes | |
| class | trUtil::IsFileSeparator |
| class | trUtil::ToLowerClass |
Namespaces | |
| trUtil | |
| Namespace that holds various utility classes for the engine. | |
Macros | |
| #define | stat64 stat |
| #define | S_ISREG(x) (((x) & S_IFMT) == S_IFREG) |
| #define | S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) |
| #define | MAX_PATH 1024 |
Functions | |
| static std::string | trUtil::GetPathRoot (const std::string &path) |
| static bool | trUtil::iMakeDirectory (const std::string &path) |
| std::string | trUtil::getFileExtensionIncludingDot (const std::string &fileName) |
| #define MAX_PATH 1024 |
Definition at line 92 of file FileUtils.cpp.
Referenced by trUtil::PathUtils::GetUserDataPath(), and trUtil::PathUtils::GetUserHomeDirectory().
| #define S_ISDIR | ( | x | ) | (((x) & S_IFMT) == S_IFDIR) |
Definition at line 85 of file FileUtils.cpp.
Referenced by trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::iMakeDirectory().
| #define S_ISREG | ( | x | ) | (((x) & S_IFMT) == S_IFREG) |
Definition at line 81 of file FileUtils.cpp.
| #define stat64 stat |
Definition at line 76 of file FileUtils.cpp.
Referenced by trUtil::iMakeDirectory().