#include <JORFile.h>
|
enum | ECommand { ECommand_OPEN
, ECommand_CLOSE
, ECommand_READ
, ECommand_WRITE
} |
|
enum | EStatus {
EStatus_WAIT
, EStatus_READ_BEGIN
, EStatus_READ_DATA
, EStatus_READ_END
,
EStatus_WRITE_BEGIN
, EStatus_WRITE_DATA
, EStatus_WRITE_END
} |
|
enum | EFlags {
EFlags_READ = (1 << 0)
, EFlags_WRITE = (1 << 1)
, EFlags_DEFAULT_EXT = (1 << 4)
, EFlags_UNK_0x20 = (1 << 5)
,
EFlags_HAS_SUFFIX = (1 << 6)
} |
|
|
| JORFile () |
|
int | countMaskSize (const char *mask) |
|
void | setBuffer (void *buffer, s32 length) |
|
char * | getFilename () |
|
u32 | getHandle () const |
|
JSUMemoryOutputStream & | getDataStream () |
|
void | setHandle (u32 handle) |
|
void | setFileLength (s32 length) |
|
void | setNFileName (u16 length) |
|
void | setNBaseName (u16 length) |
|
void | setNExtensionName (u16 length) |
|
void | setStatus (s32 status) |
|
virtual | ~JORFile () |
|
virtual int | open (const char *path, u32 flags, const char *extMask, const char *defaultExt, const char *, const char *fileSuffix) |
|
virtual int | open (u32 flags, const char *extMask, const char *defaultExt, const char *, const char *fileSuffix) |
|
virtual void | close () |
|
virtual s32 | readData (void *buffer, s32 length) |
|
virtual s32 | writeData (const void *buffer, s32 length) |
|
virtual void | readBegin_ (s32 len) |
|
virtual void | readLoop_ () |
|
virtual void | writeBegin_ (s32 len) |
|
virtual void | writeLoop_ (const void *pBuffer, s32 size, u32 pos) |
|
virtual void | writeDone_ (s32 len) |
|
virtual void | waitMessage_ () |
|
virtual s32 | getFileSize () const |
|
◆ ECommand
Enumerator |
---|
ECommand_OPEN | |
ECommand_CLOSE | |
ECommand_READ | |
ECommand_WRITE | |
◆ EFlags
Enumerator |
---|
EFlags_READ | |
EFlags_WRITE | |
EFlags_DEFAULT_EXT | |
EFlags_UNK_0x20 | |
EFlags_HAS_SUFFIX | |
◆ EStatus
Enumerator |
---|
EStatus_WAIT | |
EStatus_READ_BEGIN | |
EStatus_READ_DATA | |
EStatus_READ_END | |
EStatus_WRITE_BEGIN | |
EStatus_WRITE_DATA | |
EStatus_WRITE_END | |
◆ JORFile()
◆ ~JORFile()
◆ close()
◆ countMaskSize()
◆ getDataStream()
◆ getFilename()
char * JORFile::getFilename |
( |
| ) |
|
|
inline |
◆ getFileSize()
◆ getHandle()
u32 JORFile::getHandle |
( |
| ) |
const |
|
inline |
◆ open() [1/2]
◆ open() [2/2]
◆ readBegin_()
void JORFile::readBegin_ |
( |
s32 |
len | ) |
|
|
virtual |
◆ readData()
s32 JORFile::readData |
( |
void * |
buffer, |
|
|
s32 |
length |
|
) |
| |
|
virtual |
◆ readLoop_()
void JORFile::readLoop_ |
( |
| ) |
|
|
virtual |
◆ setBuffer()
◆ setFileLength()
void JORFile::setFileLength |
( |
s32 |
length | ) |
|
|
inline |
◆ setHandle()
void JORFile::setHandle |
( |
u32 |
handle | ) |
|
|
inline |
◆ setNBaseName()
void JORFile::setNBaseName |
( |
u16 |
length | ) |
|
|
inline |
◆ setNExtensionName()
void JORFile::setNExtensionName |
( |
u16 |
length | ) |
|
|
inline |
◆ setNFileName()
void JORFile::setNFileName |
( |
u16 |
length | ) |
|
|
inline |
◆ setStatus()
void JORFile::setStatus |
( |
s32 |
status | ) |
|
|
inline |
◆ waitMessage_()
void JORFile::waitMessage_ |
( |
| ) |
|
|
virtual |
◆ writeBegin_()
void JORFile::writeBegin_ |
( |
s32 |
len | ) |
|
|
virtual |
◆ writeData()
◆ writeDone_()
void JORFile::writeDone_ |
( |
s32 |
len | ) |
|
|
virtual |
◆ writeLoop_()
◆ field_0x18
◆ mDataStream
◆ mFileLength
◆ mFilename
char JORFile::mFilename[8] |
◆ mFlags
◆ mHandle
◆ mNBaseName
◆ mNExtensionName
u16 JORFile::mNExtensionName |
◆ mNFileName
◆ mStatus
The documentation for this class was generated from the following files: