io::FileInputStream Class Reference
A
FileInputStream obtains input bytes from a file in a file system. What files are available depends on the host environment.
More...
#include <FileInputStream.h>
List of all members.
Detailed Description
A
FileInputStream obtains input bytes from a file in a file system. What files are available depends on the host environment.
- Note:
- FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader.
Constructor & Destructor Documentation
io::FileInputStream::FileInputStream |
( |
|
) |
|
virtual io::FileInputStream::~FileInputStream |
( |
|
) |
[virtual] |
Member Function Documentation
bool io::FileInputStream::openFile |
( |
const lang::String & |
filename |
) |
|
Open the desired file.
- Parameters:
-
| filename | The name of file |
- Returns:
- true if operation was a success.
int32 io::FileInputStream::read |
( |
|
) |
[virtual] |
int32 io::FileInputStream::read |
( |
uint16 & |
data |
) |
|
int32 io::FileInputStream::read |
( |
char * |
pDataOut, |
|
|
int32 |
size | |
|
) |
| | [virtual] |
- See also:
- InputStream::read(void* pDataOut, int32 size)
Implements io::InputStream.
int32 io::FileInputStream::skip |
( |
int32 |
n |
) |
[virtual] |
int32 io::FileInputStream::available |
( |
|
) |
const [virtual] |
const char* io::FileInputStream::toString |
( |
|
) |
[virtual] |
The documentation for this class was generated from the following file:
- D:/aika/aika-v02/include/io/FileInputStream.h