VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtExtFileInputStream Class Reference

class DtExtFileInputStream: More...

Inheritance diagram for DtExtFileInputStream:
Inheritance graph
[legend]

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

DtExtFileInputStream::DtExtFileInputStream ( FILE *  )
virtual DtExtFileInputStream::~DtExtFileInputStream ( void  )
virtual

Member Function Documentation

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

Member Data Documentation

bool DtExtFileInputStream::myInitialWhitespaceIsSet
protected
std::string DtExtFileInputStream::myInitialWhitespace
protected
std::string DtExtFileInputStream::myLastWhitespace
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)