|
TrueReality
v0.1.1912
|
struct holding information about a file. More...
#include <FileUtils.h>
Public Member Functions | |
| FileInfo () | |
Public Attributes | |
| std::string | fileName |
| the file name with full path More... | |
| std::string | path |
| the path to the file More... | |
| std::string | baseName |
| the file name with extension More... | |
| std::string | extensionlessFileName |
| the file name with extension More... | |
| std::string | extension |
| the file extension More... | |
| size_t | size |
| the size of the file in bytes. More... | |
| time_t | lastModified |
| when the file was last modified. More... | |
| FileType | fileType |
| The enum value specifying the type of file. More... | |
| bool | isInArchive |
| true if the specified file lives within an archive More... | |
struct holding information about a file.
Definition at line 81 of file FileUtils.h.
|
inline |
Definition at line 93 of file FileUtils.h.
| std::string trUtil::FileInfo::baseName |
the file name with extension
Definition at line 85 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetAbsolutePath(), trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().
| std::string trUtil::FileInfo::extension |
the file extension
Definition at line 87 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().
| std::string trUtil::FileInfo::extensionlessFileName |
the file name with extension
Definition at line 86 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().
| std::string trUtil::FileInfo::fileName |
the file name with full path
Definition at line 83 of file FileUtils.h.
Referenced by trUtil::PathUtils::FindFile(), trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().
| FileType trUtil::FileInfo::fileType |
The enum value specifying the type of file.
Definition at line 90 of file FileUtils.h.
Referenced by trUtil::FileUtils::ChangeDirectoryInternal(), trUtil::FileUtils::DirCopy(), trUtil::FileUtils::DirExists(), trUtil::FileUtils::DirGetFiles(), trUtil::FileUtils::DirGetSubs(), trUtil::FileUtils::FileCopy(), trUtil::FileUtils::FileDelete(), trUtil::FileUtils::FileExists(), trUtil::FileUtils::FileMove(), trUtil::FileUtils::FindArchive(), trUtil::PathUtils::FindFile(), trUtil::FileUtils::GetAbsolutePath(), trUtil::FileUtils::GetFileInfo_Internal(), trUtil::FileUtils::GetFileInfoForFileInArchive(), trUtil::FileUtils::InternalDirCopy(), trUtil::FileUtils::MakeDirectory(), trUtil::FileUtils::ReadNode(), trUtil::FileUtils::ReadObject(), and trUtil::FileUtils::RecursDeleteDir().
| bool trUtil::FileInfo::isInArchive |
true if the specified file lives within an archive
Definition at line 91 of file FileUtils.h.
Referenced by trUtil::FileUtils::DirGetFiles(), trUtil::FileUtils::GetAbsolutePath(), trUtil::FileUtils::GetFileInfoForFileInArchive(), trUtil::FileUtils::IsSameFile(), trUtil::FileUtils::ReadNode(), and trUtil::FileUtils::ReadObject().
| time_t trUtil::FileInfo::lastModified |
when the file was last modified.
Definition at line 89 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().
| std::string trUtil::FileInfo::path |
the path to the file
Definition at line 84 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetAbsolutePath(), trUtil::FileUtils::GetFileInfo_Internal(), trUtil::FileUtils::GetFileInfoForFileInArchive(), and trUtil::FileUtils::IsSameFile().
| size_t trUtil::FileInfo::size |
the size of the file in bytes.
Definition at line 88 of file FileUtils.h.
Referenced by trUtil::FileUtils::GetFileInfo_Internal(), and trUtil::FileUtils::GetFileInfoForFileInArchive().