1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>Xerces-C++: StdInInputSource Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.4 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
18
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
19
<li><a href="annotated.html"><span>Class List</span></a></li>
20
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
21
<li><a href="functions.html"><span>Class Members</span></a></li>
24
<h1>StdInInputSource Class Reference</h1><!-- doxytag: class="StdInInputSource" --><!-- doxytag: inherits="InputSource" -->This class is a derivative of the standard <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> class.
25
<a href="#_details">More...</a>
27
<div class="dynheader">
28
Inheritance diagram for StdInInputSource:</div>
29
<div class="dynsection">
31
<p><center><img src="classStdInInputSource.png" usemap="#StdInInputSource_map" border="0" alt=""></center>
32
<map name="StdInInputSource_map">
33
<area href="classInputSource.html" alt="InputSource" shape="rect" coords="0,56,108,80">
34
<area href="classXMemory.html" alt="XMemory" shape="rect" coords="0,0,108,24">
39
<a href="classStdInInputSource-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
41
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
42
<tr><td colspan="2"><div class="groupHeader">Constructor</div></td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdInInputSource.html#e3702d78b3a8e2949a7e364fc7cb0daf">StdInInputSource</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
45
<tr><td class="mdescLeft"> </td><td class="mdescRight">Since the standard input is a canned source, the constructor is very simple. <a href="#e3702d78b3a8e2949a7e364fc7cb0daf"></a><br></td></tr>
46
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdInInputSource.html#2650066a02a8ed9f38b7e9496463def8">~StdInInputSource</a> ()</td></tr>
49
<tr><td colspan="2"><div class="groupHeader">Virtual methods</div></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBinInputStream.html">BinInputStream</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdInInputSource.html#4f259440552e17f7480435d63d2a33ba">makeStream</a> () const </td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will return a binary input stream derivative that will parse from the standard input of the local host. <a href="#4f259440552e17f7480435d63d2a33ba"></a><br></td></tr>
54
<hr><a name="_details"></a><h2>Detailed Description</h2>
55
This class is a derivative of the standard <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> class.
57
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.<p>
58
As with all <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> 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. <hr><h2>Constructor & Destructor Documentation</h2>
59
<a class="anchor" name="e3702d78b3a8e2949a7e364fc7cb0daf"></a><!-- doxytag: member="StdInInputSource::StdInInputSource" ref="e3702d78b3a8e2949a7e364fc7cb0daf" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
61
<div class="memproto">
62
<table class="memname">
64
<td class="memname">StdInInputSource::StdInInputSource </td>
66
<td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
67
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td>
68
<td> ) </td>
69
<td width="100%"></td>
76
Since the standard input is a canned source, the constructor is very simple.
78
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.
81
<a class="anchor" name="2650066a02a8ed9f38b7e9496463def8"></a><!-- doxytag: member="StdInInputSource::~StdInInputSource" ref="2650066a02a8ed9f38b7e9496463def8" args="()" -->
83
<div class="memproto">
84
<table class="memname">
86
<td class="memname">StdInInputSource::~StdInInputSource </td>
88
<td class="paramname"> </td>
89
<td> ) </td>
90
<td width="100%"></td>
100
<hr><h2>Member Function Documentation</h2>
101
<a class="anchor" name="4f259440552e17f7480435d63d2a33ba"></a><!-- doxytag: member="StdInInputSource::makeStream" ref="4f259440552e17f7480435d63d2a33ba" args="() const " -->
102
<div class="memitem">
103
<div class="memproto">
104
<table class="memname">
106
<td class="memname"><a class="el" href="classBinInputStream.html">BinInputStream</a>* StdInInputSource::makeStream </td>
108
<td class="paramname"> </td>
109
<td> ) </td>
110
<td width="100%"> const<code> [virtual]</code></td>
117
This method will return a binary input stream derivative that will parse from the standard input of the local host.
119
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A dynamically allocated binary input stream derivative that can parse from the standardinput. </dd></dl>
121
<p>Implements <a class="el" href="classInputSource.html#f0722ef511e91e7b290528b3fd13be09">InputSource</a>.</p>
125
<hr>The documentation for this class was generated from the following file:<ul>
126
<li><a class="el" href="StdInInputSource_8hpp-source.html">StdInInputSource.hpp</a></ul>
127
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 18 07:56:12 2009 for Xerces-C++ by
128
<a href="http://www.doxygen.org/index.html">
129
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>