CMGDK r49-rc2
|
#include <FileInputStream.H>
公有成员 | |
FileInputStream () | |
FileInputStream (SharedPtr< FileAccess > &) | |
virtual | ~FileInputStream () |
virtual bool | Open (const WideString &) |
打开文件 | |
virtual void | Close () |
关闭文件输入流 | |
virtual int64 | Read (void *, int64) |
读取数据 | |
virtual bool | CanSeek () const |
是否可移动访问指针 | |
virtual bool | CanRestart () const |
是否可复位访问 | |
virtual bool | CanSize () const |
是否可访问文件长度 | |
virtual int64 | Tell () const |
取当前位置 | |
virtual int64 | GetSize () |
取得文件长度 | |
virtual bool | Restart () |
复位访问指针 | |
virtual int64 | Seek (int64, SeekOrigin=soBegin) |
移动访问指针 | |
virtual int64 | Available () |
剩下的可以不受阻塞访问的字节数 | |
保护属性 | |
SharedPtr< FileAccess > | file |
文件访问指针 |
文件输入流类
hgl::io::FileInputStream::FileInputStream | ( | ) |
hgl::io::FileInputStream::FileInputStream | ( | SharedPtr< FileAccess > & | fa | ) |
hgl::io::FileInputStream::~FileInputStream | ( | ) | [virtual] |
int64 hgl::io::FileInputStream::Available | ( | ) | [virtual] |
剩下的可以不受阻塞访问的字节数
bool hgl::io::FileInputStream::CanRestart | ( | ) | const [virtual] |
是否可复位访问
bool hgl::io::FileInputStream::CanSeek | ( | ) | const [virtual] |
是否可移动访问指针
bool hgl::io::FileInputStream::CanSize | ( | ) | const [virtual] |
是否可访问文件长度
void hgl::io::FileInputStream::Close | ( | ) | [virtual] |
关闭文件输入流
int64 hgl::io::FileInputStream::GetSize | ( | ) | [virtual] |
取得文件长度
bool hgl::io::FileInputStream::Open | ( | const WideString & | filename | ) | [virtual] |
打开文件
读取数据
bool hgl::io::FileInputStream::Restart | ( | ) | [virtual] |
复位访问指针
int64 hgl::io::FileInputStream::Seek | ( | int64 | off, |
SeekOrigin | so = soBegin |
||
) | [virtual] |
移动访问指针
int64 hgl::io::FileInputStream::Tell | ( | ) | const [virtual] |
取当前位置
SharedPtr<FileAccess> hgl::io::FileInputStream::file [protected] |
文件访问指针