Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUFileInputStream Class Reference

#include <JSUFileStream.h>

+ Inheritance diagram for JSUFileInputStream:
+ Collaboration diagram for JSUFileInputStream:

Public Member Functions

virtual ~JSUFileInputStream ()
 
 JSUFileInputStream (JKRFile *)
 
u32 readData (void *, s32)
 
s32 seekPos (s32, JSUStreamSeekFrom)
 
s32 getLength () const
 
s32 getPosition () const
 
- Public Member Functions inherited from JSURandomInputStream
 JSURandomInputStream ()
 
virtual ~JSURandomInputStream ()
 
virtual s32 getAvailable () const
 
virtual s32 skip (s32)
 
s32 align (s32)
 
s32 peek (void *, s32)
 
s32 seek (s32, JSUStreamSeekFrom)
 
- Public Member Functions inherited from JSUInputStream
 JSUInputStream ()
 
virtual ~JSUInputStream ()
 
u32 readU32 ()
 
u32 read32b ()
 
s32 readS32 ()
 
s16 readS16 ()
 
u16 readU16 ()
 
u8 readU8 ()
 
u8 read8b ()
 
u16 read16b ()
 
JSUInputStreamoperator>> (u8 &dest)
 
JSUInputStreamoperator>> (s16 &dest)
 
s32 read (void *, s32)
 
- Public Member Functions inherited from JSUIosBase
 JSUIosBase ()
 
virtual ~JSUIosBase ()
 
bool isGood () const
 
void clrState (EIoState state)
 
void setState (EIoState state)
 

Private Attributes

JKRFilemFile
 
s32 mPosition
 

Constructor & Destructor Documentation

◆ ~JSUFileInputStream()

virtual JSUFileInputStream::~JSUFileInputStream ( )
inlinevirtual

◆ JSUFileInputStream()

JSUFileInputStream::JSUFileInputStream ( JKRFile pFile)

Member Function Documentation

◆ getLength()

s32 JSUFileInputStream::getLength ( ) const
virtual

Implements JSURandomInputStream.

◆ getPosition()

s32 JSUFileInputStream::getPosition ( ) const
virtual

Implements JSURandomInputStream.

◆ readData()

u32 JSUFileInputStream::readData ( void pBuffer,
s32  length 
)
virtual

Implements JSURandomInputStream.

◆ seekPos()

s32 JSUFileInputStream::seekPos ( s32  pos,
JSUStreamSeekFrom  seekFrom 
)
virtual

Implements JSURandomInputStream.

Member Data Documentation

◆ mFile

JKRFile* JSUFileInputStream::mFile
private

◆ mPosition

s32 JSUFileInputStream::mPosition
private

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