VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtExtFileInputStream Class Reference

class DtExtFileInputStream: More...

Inheritance diagram for DtExtFileInputStream:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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().


Constructor & Destructor Documentation

virtual DtExtFileInputStream::~DtExtFileInputStream ( void  ) [virtual]

Member Function Documentation

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();.


Member Data Documentation

std::string DtExtFileInputStream::myLastWhitespace [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)