#include <diskfile.h>
  
  
        Public Member Functions | 
    |
| DiskFile (void) | |
| ~DiskFile (void) | |
| bool | Create (string filename, u64 filesize) | 
| bool | Write (u64 offset, const void *buffer, size_t length) | 
| bool | Open (void) | 
| bool | Open (string filename) | 
| bool | Open (string filename, u64 filesize) | 
| bool | IsOpen (void) const | 
| bool | Read (u64 offset, void *buffer, size_t length) | 
| void | Close (void) | 
| u64 | FileSize (void) const | 
| string | FileName (void) const | 
| bool | Exists (void) const | 
| bool | Rename (void) | 
| bool | Rename (string filename) | 
| bool | Delete (void) | 
        Static Public Member Functions | 
    |
| static string | GetCanonicalPathname (string filename) | 
| static void | SplitFilename (string filename, string &path, string &name) | 
| static string | TranslateFilename (string filename) | 
| static bool | FileExists (string filename) | 
| static u64 | GetFileSize (string filename) | 
| static list< string > * | FindFiles (string path, string wildcard) | 
        Protected Attributes | 
    |
| string | filename | 
| u64 | filesize | 
| FILE * | file | 
| u64 | offset | 
| bool | exists | 
Definition at line 32 of file diskfile.h.
| DiskFile::DiskFile | ( | void | ) | 
| DiskFile::~DiskFile | ( | void | ) | 
| bool DiskFile::Create | ( | string | filename, | |
| u64 | filesize | |||
| ) | 
| bool DiskFile::Write | ( | u64 | offset, | |
| const void * | buffer, | |||
| size_t | length | |||
| ) | 
| bool DiskFile::Open | ( | void | ) | 
| bool DiskFile::Open | ( | string | filename | ) | 
| bool DiskFile::Open | ( | string | filename, | |
| u64 | filesize | |||
| ) | 
| bool DiskFile::IsOpen | ( | void | ) | const [inline]
 | 
        
Definition at line 53 of file diskfile.h.
| bool DiskFile::Read | ( | u64 | offset, | |
| void * | buffer, | |||
| size_t | length | |||
| ) | 
| void DiskFile::Close | ( | void | ) | 
| u64 DiskFile::FileSize | ( | void | ) | const [inline]
 | 
        
Definition at line 63 of file diskfile.h.
| string DiskFile::FileName | ( | void | ) | const [inline]
 | 
        
Definition at line 66 of file diskfile.h.
| bool DiskFile::Exists | ( | void | ) | const [inline]
 | 
        
Definition at line 69 of file diskfile.h.
| bool DiskFile::Rename | ( | void | ) | 
| bool DiskFile::Rename | ( | string | filename | ) | 
| bool DiskFile::Delete | ( | void | ) | 
| static string DiskFile::GetCanonicalPathname | ( | string | filename | ) | [static] | 
        
| static void DiskFile::SplitFilename | ( | string | filename, | |
| string & | path, | |||
| string & | name | |||
| ) | [static] | 
        
| static string DiskFile::TranslateFilename | ( | string | filename | ) | [static] | 
        
| static bool DiskFile::FileExists | ( | string | filename | ) | [static] | 
        
| static u64 DiskFile::GetFileSize | ( | string | filename | ) | [static] | 
        
| static list | 
          ( | string | path, | |
| string | wildcard | |||
| ) | [static] | 
        
string DiskFile::filename [protected]
 | 
        
Definition at line 92 of file diskfile.h.
u64 DiskFile::filesize [protected]
 | 
        
Definition at line 93 of file diskfile.h.
FILE* DiskFile::file [protected]
 | 
        
Definition at line 99 of file diskfile.h.
u64 DiskFile::offset [protected]
 | 
        
Definition at line 103 of file diskfile.h.
bool DiskFile::exists [protected]
 | 
        
Definition at line 106 of file diskfile.h.