#include <RageFile.h>
Inheritance diagram for RageFile:


Public Types | |
| enum | { READ = 0x1, WRITE = 0x2, STREAMED = 0x4, SLOW_FLUSH = 0x8 } |
Public Member Functions | |
| RageFile () | |
| ~RageFile () | |
| RageFile (const RageFile &cpy) | |
| RageFileBasic * | Copy () const |
| const CString & | GetRealPath () const |
| CString | GetPath () const |
| bool | Open (const CString &path, int mode=READ) |
| void | Close () |
| bool | IsOpen () const |
| bool | AtEOF () const |
| CString | GetError () const |
| void | ClearError () |
| bool | IsGood () const |
| int | Tell () const |
| int | Seek (int offset) |
| int | GetFileSize () const |
| int | Read (void *buffer, size_t bytes) |
| int | Read (CString &buffer, int bytes=-1) |
| int | Write (const void *buffer, size_t bytes) |
| int | Write (const CString &string) |
| int | Flush () |
| int | Write (const void *buffer, size_t bytes, int nmemb) |
| int | Read (void *buffer, size_t bytes, int nmemb) |
| int | Seek (int offset, int whence) |
| int | GetLine (CString &out) |
| int | PutLine (const CString &str) |
| void | EnableCRC32 (bool on=true) |
| bool | GetCRC32 (uint32_t *iRet) |
Protected Member Functions | |
| void | SetError (const CString &err) |
Private Attributes | |
| RageFileBasic * | m_File |
| CString | m_Path |
| CString | m_sError |
| int | m_Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
|
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Implements RageFileBasic. |
|
||||||||||||||||
|
Implements RageFileBasic. |
|
||||||||||||
|
Implements RageFileBasic. |
|
||||||||||||
|
Implements RageFileBasic. |
|
||||||||||||
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
|
|
|
|
Implements RageFileBasic. |
|
||||||||||||||||
|
Implements RageFileBasic. |
|
|
Implements RageFileBasic. |
|
||||||||||||
|
Implements RageFileBasic. |
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7