Main Page   Class Hierarchy   Compound List   File List   Compound Members  

StdInInputSource Class Reference

Inheritance diagram for StdInInputSource:

InputSource List of all members.

Public Methods

Constructor
 StdInInputSource ()
Destructor
Virtual methods
BinInputStream * makeStream () const

Detailed Description

This class is a derivative of the standard InputSource class. It provides for the parser access to data via the standard input. This input source is not commonly used, but can be useful when implementing such things as pipe based tools which exchange XML data.

As with all InputSource derivatives. The primary objective of an input source is to create an input stream via which the parser can spool in data from the referenced source.


Constructor & Destructor Documentation

StdInInputSource::StdInInputSource   [inline]
 

Since the standard input is a canned source, the constructor is very simple. It just uses local platform services to open up the standard input source as file, a new handleof which it gives to each new stream it creates.


Member Function Documentation

BinInputStream * StdInInputSource::makeStream   const [virtual]
 

This method will return a binary input stream derivative that will parse from the standard input of the local host.

Returns:
A dynamically allocated binary input stream derivative that can parse from the standardinput.

Implements InputSource.


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 09:36:46 2002 by doxygen1.3-rc1