Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSURandomInputStream.h
Go to the documentation of this file.
1
#ifndef JSURANDOMINPUTSTREAM_H_
2
#define JSURANDOMINPUTSTREAM_H_
3
4
#include "
JSystem/JSupport/JSUInputStream.h
"
5
10
class
JSURandomInputStream
:
public
JSUInputStream
{
11
public
:
12
JSURandomInputStream
() {}
13
virtual
~JSURandomInputStream
() {}
14
15
/* vt[3] */
virtual
s32
getAvailable
()
const
;
/* override */
16
/* vt[4] */
virtual
s32
skip
(
s32
);
/* override */
17
/* vt[5] */
virtual
u32
readData
(
void
*,
s32
) = 0;
18
/* vt[6] */
virtual
s32
getLength
()
const
= 0;
19
/* vt[7] */
virtual
s32
getPosition
()
const
= 0;
20
/* vt[8] */
virtual
s32
seekPos
(
s32
,
JSUStreamSeekFrom
) = 0;
21
22
// TODO: fix return types
23
/* 802DC370 */
s32
align
(
s32
);
24
/* 802DC458 */
s32
peek
(
void
*,
s32
);
25
/* 802DC4DC */
s32
seek
(
s32
,
JSUStreamSeekFrom
);
26
};
// Size = 0x8
27
28
#endif
JSUInputStream.h
JSUStreamSeekFrom
JSUStreamSeekFrom
Definition
JSUInputStream.h:6
JSUInputStream
Definition
JSUInputStream.h:16
JSURandomInputStream
Definition
JSURandomInputStream.h:10
JSURandomInputStream::getPosition
virtual s32 getPosition() const =0
JSURandomInputStream::readData
virtual u32 readData(void *, s32)=0
JSURandomInputStream::skip
virtual s32 skip(s32)
Definition
JSUInputStream.cpp:83
JSURandomInputStream::seek
s32 seek(s32, JSUStreamSeekFrom)
Definition
JSUInputStream.cpp:103
JSURandomInputStream::seekPos
virtual s32 seekPos(s32, JSUStreamSeekFrom)=0
JSURandomInputStream::align
s32 align(s32)
Definition
JSUInputStream.cpp:67
JSURandomInputStream::peek
s32 peek(void *, s32)
Definition
JSUInputStream.cpp:92
JSURandomInputStream::getLength
virtual s32 getLength() const =0
JSURandomInputStream::~JSURandomInputStream
virtual ~JSURandomInputStream()
Definition
JSURandomInputStream.h:13
JSURandomInputStream::JSURandomInputStream
JSURandomInputStream()
Definition
JSURandomInputStream.h:12
JSURandomInputStream::getAvailable
virtual s32 getAvailable() const
u32
unsigned long u32
Definition
types.h:10
s32
signed long s32
Definition
types.h:6
include
JSystem
JSupport
JSURandomInputStream.h
Generated by
1.9.8