#include <DataInputStream.H>
所有成员的列表。
详细描述
构造及析构函数文档
hgl::io::DataInputStream::DataInputStream |
( |
InputStream * |
is | ) |
[inline] |
virtual hgl::io::DataInputStream::~DataInputStream |
( |
| ) |
[inline, virtual] |
成员函数文档
virtual int64 hgl::io::DataInputStream::Available |
( |
| ) |
[inline, virtual] |
virtual int64 hgl::io::DataInputStream::GetSize |
( |
| ) |
[inline, virtual] |
template<typename T >
bool hgl::io::DataInputStream::Read |
( |
T & |
data | ) |
[inline] |
自适应类型数据读取 请在多平台混用的情况下不要使用此函数,以免造成不同平台数据实质结构不一致的情况
virtual int64 hgl::io::DataInputStream::Read |
( |
void * |
buf, |
|
|
int64 |
size |
|
) |
| [inline, virtual] |
template<typename T >
int64 hgl::io::DataInputStream::ReadArrays |
( |
T * |
data, |
|
|
int64 |
count |
|
) |
| [inline] |
自适应类型数据阵列读取 请在多平台混用的情况下不要使用此函数,以免造成不同平台数据实质结构不一致的情况
- 参数:
-
- 返回:
- 实质读入的数据个数
-
<0 出错
template<typename T >
T* hgl::io::DataInputStream::ReadArrays |
( |
int64 |
count | ) |
[inline] |
自定义类型数据阵列读取 请在多平台混用的情况下不要使用此函数,以免造成不同平台数据实质结构不一致的情况
- 参数:
-
- 返回:
- 实质读入的数据指针,请使用delete[]释放
-
NULL 出错
virtual bool hgl::io::DataInputStream::ReadDouble |
( |
double & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadFloat |
( |
float & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadInt16 |
( |
int16 & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadInt32 |
( |
int32 & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadInt64 |
( |
int64 & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadUint16 |
( |
uint16 & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadUint32 |
( |
uint32 & |
value | ) |
[pure virtual] |
virtual bool hgl::io::DataInputStream::ReadUint64 |
( |
uint64 & |
value | ) |
[pure virtual] |
bool hgl::io::DataInputStream::ReadUTF16BEChars |
( |
wchar_t * |
wstr, |
|
|
int |
count |
|
) |
| [virtual] |
读取utf16-be格式字符阵列到wchar_t *
bool hgl::io::DataInputStream::ReadUTF16BEString |
( |
WideString & |
wstr | ) |
[virtual] |
读取utf16-be格式字符串(前缀四字节的字符串字节长度)
bool hgl::io::DataInputStream::ReadUTF16LEChars |
( |
wchar_t * |
wstr, |
|
|
int |
count |
|
) |
| [virtual] |
读取utf16-le格式字符阵列到wchar_t *
bool hgl::io::DataInputStream::ReadUTF16LEString |
( |
WideString & |
wstr | ) |
[virtual] |
读取utf16-le格式字符串(前缀四字节的字符串字节长度)
bool hgl::io::DataInputStream::ReadUTF8String |
( |
WideString & |
wstr | ) |
[virtual] |
读取utf8格式字符串(前缀四字节的字符串字节长度)
virtual bool hgl::io::DataInputStream::ReadWideChar |
( |
wchar_t & |
value | ) |
[pure virtual] |
virtual int64 hgl::io::DataInputStream::Seek |
( |
int64 |
offset, |
|
|
SeekOrigin |
so = soBegin |
|
) |
| [inline, virtual] |
hgl::io::DataInputStream::STREAM_READ |
( |
int8 |
, |
|
|
Int8 |
|
|
) |
| |
hgl::io::DataInputStream::STREAM_READ |
( |
char |
, |
|
|
Char |
|
|
) |
| |
hgl::io::DataInputStream::STREAM_READ |
( |
bool |
, |
|
|
Bool |
|
|
) |
| |
hgl::io::DataInputStream::STREAM_READ |
( |
uint8 |
, |
|
|
Uint8 |
|
|
) |
| |
成员数据文档
该类的文档由以下文件生成: