Pioneer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
FileSystem::FileInfo Class Reference

#include <FileSystem.h>

Public Types

enum  FileType { FT_DIR , FT_FILE , FT_NON_EXISTENT , FT_SPECIAL }
 

Public Member Functions

 FileInfo ()
 
enum FileType GetType () const
 
bool Exists () const
 
bool IsDir () const
 
bool IsFile () const
 
bool IsSpecial () const
 
Time::DateTime GetModificationTime () const
 
const std::string & GetPath () const
 
std::string GetName () const
 
std::string GetDir () const
 
std::string GetAbsoluteDir () const
 
std::string GetAbsolutePath () const
 
const FileSourceGetSource () const
 
RefCountedPtr< FileDataRead () const
 

Friends

class FileSource
 
bool operator== (const FileInfo &a, const FileInfo &b)
 
bool operator!= (const FileInfo &a, const FileInfo &b)
 
bool operator< (const FileInfo &a, const FileInfo &b)
 
bool operator<= (const FileInfo &a, const FileInfo &b)
 
bool operator> (const FileInfo &a, const FileInfo &b)
 
bool operator>= (const FileInfo &a, const FileInfo &b)
 

Member Enumeration Documentation

◆ FileType

Enumerator
FT_DIR 
FT_FILE 
FT_NON_EXISTENT 
FT_SPECIAL 

Constructor & Destructor Documentation

◆ FileInfo()

FileSystem::FileInfo::FileInfo ( )
inline

Member Function Documentation

◆ Exists()

bool FileSystem::FileInfo::Exists ( ) const
inline

◆ GetAbsoluteDir()

std::string FileSystem::FileInfo::GetAbsoluteDir ( ) const
inline
Here is the call graph for this function:

◆ GetAbsolutePath()

std::string FileSystem::FileInfo::GetAbsolutePath ( ) const
inline
Here is the call graph for this function:

◆ GetDir()

std::string FileSystem::FileInfo::GetDir ( ) const
inline

◆ GetModificationTime()

Time::DateTime FileSystem::FileInfo::GetModificationTime ( ) const
inline

◆ GetName()

std::string FileSystem::FileInfo::GetName ( ) const
inline

◆ GetPath()

const std::string & FileSystem::FileInfo::GetPath ( ) const
inline

◆ GetSource()

const FileSource & FileSystem::FileInfo::GetSource ( ) const
inline

◆ GetType()

enum FileType FileSystem::FileInfo::GetType ( ) const
inline

◆ IsDir()

bool FileSystem::FileInfo::IsDir ( ) const
inline

◆ IsFile()

bool FileSystem::FileInfo::IsFile ( ) const
inline

◆ IsSpecial()

bool FileSystem::FileInfo::IsSpecial ( ) const
inline

◆ Read()

RefCountedPtr< FileSystem::FileData > FileSystem::FileInfo::Read ( ) const
inline

Friends And Related Symbol Documentation

◆ FileSource

friend class FileSource
friend

◆ operator!=

bool operator!= ( const FileInfo a,
const FileInfo b 
)
friend

◆ operator<

bool operator< ( const FileInfo a,
const FileInfo b 
)
friend

◆ operator<=

bool operator<= ( const FileInfo a,
const FileInfo b 
)
friend

◆ operator==

bool operator== ( const FileInfo a,
const FileInfo b 
)
friend

◆ operator>

bool operator> ( const FileInfo a,
const FileInfo b 
)
friend

◆ operator>=

bool operator>= ( const FileInfo a,
const FileInfo b 
)
friend

The documentation for this class was generated from the following files: