#include <lsxml.h>
Inheritance diagram for lsxml::FileInputStream< _Ty >:
Public Member Functions | |
FileInputStream () | |
ctor | |
FileInputStream (const _Ty *filename) | |
ctor | |
bool | Open (const _Ty *filename) |
opens the file | |
virtual _Ty | GetChar () |
reads the next character | |
FileInputStream () | |
Constructor. Does nothing. | |
FileInputStream (const _Ty *filename) | |
Constructor. Opens the specified file. | |
bool | Open (const _Ty *filename) |
Opens the specified file. | |
bool | IsOpen () const |
Checks if the stream is open. | |
virtual _Ty | GetChar () |
reads the next character | |
virtual bool | HasMore () const |
Checks if the reading has reached the end of file. |
Handles streaming characters from a file
lsxml::FileInputStream< _Ty >::FileInputStream | ( | const _Ty * | filename | ) | [inline] |
Constructor. Opens the specified file.
filename | name of the file to open |
bool lsxml::FileInputStream< _Ty >::Open | ( | const _Ty * | filename | ) | [inline] |
Opens the specified file.
filename | name of the file to open |
bool lsxml::FileInputStream< _Ty >::IsOpen | ( | ) | const [inline] |
Checks if the stream is open.
Reimplemented from lsxml::FileStreamBase< _Base >.