SourceForge.net Logo

xercesc::StdInInputSource Class Reference

This class is a derivative of the standard InputSource class. More...

#include <StdInInputSource.hpp>

Inheritance diagram for xercesc::StdInInputSource:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Constructor



 StdInInputSource (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 Since the standard input is a canned source, the constructor is very simple.
Destructor



 ~StdInInputSource ()
Virtual methods



BinInputStream * makeStream () const
 This method will return a binary input stream derivative that will parse from the standard input of the local host.

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

xercesc::StdInInputSource::StdInInputSource ( MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager  )  [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.

xercesc::StdInInputSource::~StdInInputSource (  )  [inline]

Member Function Documentation

BinInputStream* xercesc::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 xercesc::InputSource.


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

Generated on Fri Nov 13 15:00:04 2009 for XQilla Simple API by  doxygen 1.6.1