![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtExtFileInputStream: More...

Public Member Functions | |
| DtExtFileInputStream (FILE *) | |
| virtual | ~DtExtFileInputStream (void) |
| int | fgetc_past_whitespace (void) |
| int | flush_until (char terminator) |
| virtual void | clearLastWhitespace () |
| Clears buffer containing last whitespace. | |
| virtual const std::string & | lastWhitespace () const |
| Returns whitespace passed over in most recent call to fgetc_past_whitespace();. | |
| virtual const std::string & | initialWhitespace () const |
| Returns whitespace passed over in initial call to fgetc_past_whitespace();. | |
Protected Attributes | |
| bool | myInitialWhitespaceIsSet |
| std::string | myInitialWhitespace |
| std::string | myLastWhitespace |
class DtExtFileInputStream:
This class extends DtlFileInputStream with the ability to cache whitespace characters collected from an input stream in a called to fgetc_past_whitespace().
| DtExtFileInputStream::DtExtFileInputStream | ( | FILE * | ) |
| virtual DtExtFileInputStream::~DtExtFileInputStream | ( | void | ) | [virtual] |
| int DtExtFileInputStream::fgetc_past_whitespace | ( | void | ) |
| int DtExtFileInputStream::flush_until | ( | char | terminator | ) |
| virtual void DtExtFileInputStream::clearLastWhitespace | ( | ) | [virtual] |
Clears buffer containing last whitespace.
Call before fgetc_past_whitespace().
| virtual const std::string& DtExtFileInputStream::lastWhitespace | ( | ) | const [virtual] |
Returns whitespace passed over in most recent call to fgetc_past_whitespace();.
| virtual const std::string& DtExtFileInputStream::initialWhitespace | ( | ) | const [virtual] |
Returns whitespace passed over in initial call to fgetc_past_whitespace();.
bool DtExtFileInputStream::myInitialWhitespaceIsSet [protected] |
std::string DtExtFileInputStream::myInitialWhitespace [protected] |
std::string DtExtFileInputStream::myLastWhitespace [protected] |