TrueReality  v0.1.1912
trUtil::FileInfo Struct Reference

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...
 

Detailed Description

struct holding information about a file.

Definition at line 81 of file FileUtils.h.

Constructor & Destructor Documentation

◆ FileInfo()

trUtil::FileInfo::FileInfo ( )
inline

Definition at line 93 of file FileUtils.h.

Member Data Documentation

◆ baseName

std::string trUtil::FileInfo::baseName

◆ extension

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().

◆ extensionlessFileName

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().

◆ fileName

std::string trUtil::FileInfo::fileName

◆ fileType

◆ isInArchive

bool trUtil::FileInfo::isInArchive

◆ lastModified

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().

◆ path

std::string trUtil::FileInfo::path

◆ size

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().


The documentation for this struct was generated from the following file: