Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7dbb97048ebf07a07f14d36d61024b23 > files > 106

wsdlpull-doc-1.23-3.fc13.noarch.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>wsdlpull: /builddir/build/BUILD/wsdlpull-1.23/src/xmlpull/XmlPullParser.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_02f058d422e7266632662d1436e7c90d.html">src</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_d82d185bbcb80670a6f83c0b9bb31577.html">xmlpull</a>
  </div>
</div>
<div class="contents">
<h1>XmlPullParser.h</h1><a href="XmlPullParser_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (c) 2005,2007 Vivek Krishna</span>
<a name="l00002"></a>00002 <span class="comment"> *  Based on kxml2 by Stefan Haustein, Oberhausen, Rhld., Germany</span>
<a name="l00003"></a>00003 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span>
<a name="l00004"></a>00004 <span class="comment"> * of this software and associated documentation files (the &quot;Software&quot;), to deal</span>
<a name="l00005"></a>00005 <span class="comment"> * in the Software without restriction, including without limitation the rights</span>
<a name="l00006"></a>00006 <span class="comment"> * to use, copy, modify, merge, publish, distribute, sublicense, and/or</span>
<a name="l00007"></a>00007 <span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span>
<a name="l00008"></a>00008 <span class="comment"> * furnished to do so, subject to the following conditions:</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * The  above copyright notice and this permission notice shall be included in</span>
<a name="l00011"></a>00011 <span class="comment"> * all copies or substantial portions of the Software.</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span>
<a name="l00014"></a>00014 <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
<a name="l00015"></a>00015 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
<a name="l00016"></a>00016 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
<a name="l00017"></a>00017 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
<a name="l00018"></a>00018 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS</span>
<a name="l00019"></a>00019 <span class="comment"> * IN THE SOFTWARE. */</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef _XMLPULLPARSERH</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define _XMLPULLPARSERH</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;sstream&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#ifdef HAVE_CONFIG_H //</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#include &lt;config.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#endif </span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="wsdlpull__export_8h.html">wsdlpull_export.h</a>&quot;</span>
<a name="l00034"></a>00034 
<a name="l00036"></a><a class="code" href="XmlPullParser_8h.html#a014be96d5a1151adcefd3b30dfe34d6e">00036</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="XmlPullParser_8h.html#a014be96d5a1151adcefd3b30dfe34d6e">RESIZE_BUFFER</a> = 16;
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="comment">//features</span>
<a name="l00040"></a><a class="code" href="XmlPullParser_8h.html#ada32f6169a51300722b9b7dd38fa4032">00040</a> <span class="preprocessor">#define FEATURE_PROCESS_NAMESPACES &quot;http://xmlpull.org/v1/doc/features.html#process-namespaces&quot;</span>
<a name="l00041"></a><a class="code" href="XmlPullParser_8h.html#a3994dc4d0d90a284f41af82982b2b9f2">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define FEATURE_REPORT_NAMESPACE_ATTRIBUTES &quot;http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes&quot;</span>
<a name="l00042"></a><a class="code" href="XmlPullParser_8h.html#a844c4d6f3f5f3fa7691ffb3ca7e521cf">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define FEATURE_PROCESS_DOCDECL &quot;http://xmlpull.org/v1/doc/features.html#process-docdecl&quot;</span>
<a name="l00043"></a><a class="code" href="XmlPullParser_8h.html#a4e1d60e055c166df8ea7bb5ae6f3ae14">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define FEATURE_VALIDATION &quot;http://xmlpull.org/v1/doc/features.html#validation&quot;</span>
<a name="l00044"></a><a class="code" href="XmlPullParser_8h.html#af843c56be84a0da293c66071852b12aa">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define NO_NAMESPACE &quot;&quot;</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="classXmlPullParser.html">00046</a> <span class="keyword">class </span><a class="code" href="wsdlpull__export_8h.html#ad360158cff99879c80a7072c29529f50">WSDLPULL_EXPORT</a> <a class="code" href="classXmlPullParser.html">XmlPullParser</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048  <span class="keyword">public</span>:
<a name="l00049"></a>00049  
<a name="l00050"></a>00050   <a class="code" href="classXmlPullParser.html">XmlPullParser</a> (std::istream &amp; is);
<a name="l00051"></a>00051   <span class="comment">//constructor</span>
<a name="l00052"></a>00052   <a class="code" href="classXmlPullParser.html">XmlPullParser</a> (<span class="keywordtype">void</span>);
<a name="l00053"></a>00053   ~<a class="code" href="classXmlPullParser.html">XmlPullParser</a> (<span class="keywordtype">void</span>);
<a name="l00054"></a>00054   <span class="keywordtype">bool</span> getFeature (std::string feature);
<a name="l00055"></a>00055   std::string getInputEncoding ();
<a name="l00056"></a>00056   <span class="keywordtype">void</span> defineEntityReplacementText (std::string entity, std::string value);
<a name="l00057"></a>00057   <span class="keywordtype">int</span> getNamespaceCount (<span class="keywordtype">int</span> depth);
<a name="l00058"></a>00058   std::string getNamespacePrefix (<span class="keywordtype">int</span> pos);
<a name="l00059"></a>00059   std::string getNamespaceUri (<span class="keywordtype">int</span> pos);
<a name="l00060"></a>00060   std::string getNamespace (std::string prefix);
<a name="l00061"></a>00061   
<a name="l00062"></a>00062   <span class="keywordtype">int</span> getDepth ();
<a name="l00063"></a>00063   std::string getPositionDescription ();
<a name="l00064"></a><a class="code" href="classXmlPullParser.html#a85f448552915586aa04c44a7d16e8e48">00064</a>   <span class="keywordtype">int</span> getLineNumber ()
<a name="l00065"></a>00065     {
<a name="l00066"></a>00066       <span class="keywordflow">return</span> line;
<a name="l00067"></a>00067     }
<a name="l00068"></a><a class="code" href="classXmlPullParser.html#a81379b1abbe24acb76739836c51563b1">00068</a>   <span class="keywordtype">int</span> getColumnNumber ()
<a name="l00069"></a>00069     {
<a name="l00070"></a>00070       <span class="keywordflow">return</span> column;
<a name="l00071"></a>00071     }
<a name="l00072"></a>00072   <span class="keywordtype">bool</span> isWhitespace ();
<a name="l00073"></a>00073   std::string getText ();
<a name="l00074"></a>00074   <span class="keyword">const</span> <span class="keywordtype">char</span> *getTextCharacters (<span class="keywordtype">int</span> *poslen);
<a name="l00075"></a><a class="code" href="classXmlPullParser.html#a0cf70ed3af7c134614d19bd1217ed725">00075</a>   std::string getNamespace ()
<a name="l00076"></a>00076     {
<a name="l00077"></a>00077       <span class="keywordflow">return</span> Ns;
<a name="l00078"></a>00078     }
<a name="l00079"></a><a class="code" href="classXmlPullParser.html#a861f8c8b5b08ab96fb7c33756f7cc94d">00079</a>   std::string getName ()
<a name="l00080"></a>00080     {
<a name="l00081"></a>00081       <span class="keywordflow">return</span> name;
<a name="l00082"></a>00082     }
<a name="l00083"></a><a class="code" href="classXmlPullParser.html#a8e48d0915ebf455e8b965a1c2cb18504">00083</a>   std::string getPrefix ()
<a name="l00084"></a>00084     {
<a name="l00085"></a>00085       <span class="keywordflow">return</span> prefix;
<a name="l00086"></a>00086     }
<a name="l00087"></a>00087   <span class="keywordtype">bool</span> isEmptyElementTag ();
<a name="l00088"></a><a class="code" href="classXmlPullParser.html#afa91180fecdf4078ad07884f481eed86">00088</a>   <span class="keywordtype">int</span> getAttributeCount ()
<a name="l00089"></a>00089     {
<a name="l00090"></a>00090       <span class="keywordflow">return</span> attributeCount;
<a name="l00091"></a>00091     }
<a name="l00092"></a><a class="code" href="classXmlPullParser.html#a18e7e5ec43508abf200d1d38ab19ce59">00092</a>   std::string getAttributeType (<span class="keywordtype">int</span> <span class="comment">/* index */</span>)
<a name="l00093"></a>00093     {
<a name="l00094"></a>00094       <span class="keywordflow">return</span> <span class="stringliteral">&quot;CDATA&quot;</span>;
<a name="l00095"></a>00095     }
<a name="l00096"></a><a class="code" href="classXmlPullParser.html#a50263249dd6681074b058adbb7a22e09">00096</a>   <span class="keywordtype">bool</span> isAttributeDefault (<span class="keywordtype">int</span> <span class="comment">/* index */</span>)
<a name="l00097"></a>00097     {
<a name="l00098"></a>00098       <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00099"></a>00099     }
<a name="l00100"></a>00100   std::string getAttributeNamespace (<span class="keywordtype">int</span> index);
<a name="l00101"></a>00101   std::string getAttributeName (<span class="keywordtype">int</span> index);
<a name="l00102"></a>00102   std::string getAttributePrefix (<span class="keywordtype">int</span> index);
<a name="l00103"></a>00103   std::string getAttributeValue (<span class="keywordtype">int</span> index);
<a name="l00104"></a>00104   std::string getAttributeValue (std::string ns, std::string name);
<a name="l00105"></a><a class="code" href="classXmlPullParser.html#a707466b0d0f10ead2266a750ad84278f">00105</a>   <span class="keywordtype">int</span> getEventType ()
<a name="l00106"></a>00106     {
<a name="l00107"></a>00107       <span class="keywordflow">return</span> type;
<a name="l00108"></a>00108     }
<a name="l00109"></a>00109   <span class="comment">//parsing methods</span>
<a name="l00110"></a>00110   <span class="keywordtype">int</span> next ();
<a name="l00111"></a>00111   <span class="keywordtype">int</span> nextToken ();
<a name="l00112"></a>00112   <span class="keywordtype">int</span> nextTag ();
<a name="l00113"></a>00113   <span class="keywordtype">void</span> prevTag();
<a name="l00114"></a>00114 
<a name="l00115"></a>00115   <span class="comment">//----------------------------------------------------------------------</span>
<a name="l00116"></a>00116   <span class="comment">// utility methods to make XML parsing easier ...</span>
<a name="l00117"></a>00117   <span class="keywordtype">void</span> require (<span class="keywordtype">int</span> type, std::string ns, std::string name);
<a name="l00118"></a>00118   std::string nextText ();
<a name="l00119"></a>00119   <span class="keywordtype">void</span> setFeature (std::string feature, <span class="keywordtype">bool</span> value);
<a name="l00120"></a>00120   <span class="keywordtype">void</span> skipSubTree() ;
<a name="l00121"></a>00121   <span class="comment">//  void setProperty(std::string property,  std::string value);</span>
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 
<a name="l00124"></a>00124   <span class="comment">//enum for event types</span>
<a name="l00125"></a>00125   <span class="keyword">enum</span>
<a name="l00126"></a>00126     {
<a name="l00127"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a9a40df5e7fdb1a29f88425ef3eb8c1fa">00127</a>       START_DOCUMENT ,
<a name="l00128"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a7857338db3efb0bcd468b06fe346076f">00128</a>       END_DOCUMENT,
<a name="l00129"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a9b3020c88a2935db197d7a72cf36067c">00129</a>       START_TAG,
<a name="l00130"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a01175879185048fcb8f34df520b2bfdb">00130</a>       END_TAG,
<a name="l00131"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a28fe6e9574a4acff8df907ecb51c1b7d">00131</a>       TEXT,
<a name="l00132"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45ad8c2d3a9e384827db9b8bf91c1cb8d3f">00132</a>       CDSECT,
<a name="l00133"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45af467c480ce0e4e3974ed145264b7e56c">00133</a>       ENTITY_REF,
<a name="l00134"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45aaca5105fd6985317220ada2aa289f996">00134</a>       IGNORABLE_WHITESPACE,
<a name="l00135"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a108caf840dd58cb393fa106712a24e85">00135</a>       PROCESSING_INSTRUCTION,
<a name="l00136"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45acb2ce062d9bd492d6caa464ebbc2e8c2">00136</a>       COMMENT,
<a name="l00137"></a><a class="code" href="classXmlPullParser.html#ad5db81dea47b59d1aab8e24ca78baf45a6225159627a41043e3eff8f44f44e03a">00137</a>       DOCDECL
<a name="l00138"></a>00138     };
<a name="l00139"></a>00139  <span class="keyword">private</span>:
<a name="l00140"></a>00140   <span class="keywordtype">void</span> commonInit (<span class="keywordtype">void</span>);
<a name="l00141"></a>00141   <span class="keywordtype">void</span> initBuf (<span class="keywordtype">void</span>);
<a name="l00142"></a>00142 
<a name="l00143"></a>00143   <span class="comment">//returns the state name as  a std::string</span>
<a name="l00144"></a>00144   std::string state (<span class="keywordtype">int</span> eventType);
<a name="l00145"></a>00145   <span class="keywordtype">bool</span> isProp (std::string n1, <span class="keywordtype">bool</span> prop, std::string n2);
<a name="l00146"></a>00146   <span class="keywordtype">bool</span> adjustNsp ();                            <span class="comment">//throws XmlPullParserException</span>
<a name="l00147"></a>00147   std::string *ensureCapacity (std::string * arr, <span class="keywordtype">int</span> required);
<a name="l00148"></a>00148   <span class="keywordtype">void</span> exception (std::string desc);                 <span class="comment">//throws XmlPullParserException</span>
<a name="l00149"></a>00149 
<a name="l00153"></a>00153   <span class="keywordtype">void</span> nextImpl ();                             <span class="comment">//throws IOException, XmlPullParserException</span>
<a name="l00154"></a>00154   <span class="keywordtype">int</span> parseLegacy (<span class="keywordtype">bool</span> push);
<a name="l00155"></a>00155 
<a name="l00156"></a>00156   <span class="comment">//throws IOException, XmlPullParserException</span>
<a name="l00157"></a>00157 
<a name="l00159"></a>00159   <span class="keywordtype">void</span> parseDoctype (<span class="keywordtype">bool</span> push);
<a name="l00160"></a>00160 
<a name="l00161"></a>00161   <span class="comment">/* precondition: &amp;lt;/ consumed */</span>
<a name="l00162"></a>00162   <span class="keywordtype">void</span> parseEndTag ();
<a name="l00163"></a>00163   <span class="keywordtype">int</span> peekType ();
<a name="l00164"></a>00164   std::string <span class="keyword">get</span> (<span class="keywordtype">int</span> pos);
<a name="l00165"></a>00165   <span class="keywordtype">void</span> push (<span class="keywordtype">int</span> c);
<a name="l00166"></a>00166 
<a name="l00168"></a>00168   <span class="keywordtype">void</span> parseStartTag (<span class="keywordtype">bool</span> xmldecl);
<a name="l00169"></a>00169 
<a name="l00173"></a>00173   <span class="comment">//vivek</span>
<a name="l00174"></a>00174   <span class="keywordtype">void</span> pushEntity ();
<a name="l00175"></a>00175 
<a name="l00181"></a>00181   <span class="keywordtype">void</span> pushText (<span class="keywordtype">int</span> delimiter, <span class="keywordtype">bool</span> resolveEntities);
<a name="l00182"></a>00182   <span class="keywordtype">void</span> read (<span class="keywordtype">char</span> c);
<a name="l00183"></a>00183   <span class="keywordtype">int</span> read ();
<a name="l00184"></a>00184 
<a name="l00186"></a>00186   <span class="keywordtype">int</span> peekbuf (<span class="keywordtype">int</span> pos);
<a name="l00187"></a>00187   std::string readName ();
<a name="l00188"></a>00188   <span class="keywordtype">void</span> skip ();
<a name="l00189"></a>00189   std::string unexpected_eof;
<a name="l00190"></a>00190   std::string illegal_type;
<a name="l00191"></a>00191   <span class="keywordtype">int</span> LEGACY;
<a name="l00192"></a>00192   <span class="keywordtype">int</span> XML_DECL;
<a name="l00193"></a>00193 
<a name="l00194"></a>00194   <span class="comment">// general</span>
<a name="l00195"></a>00195   std::string version;
<a name="l00196"></a>00196   <span class="keywordtype">bool</span> standalone;
<a name="l00197"></a>00197 
<a name="l00198"></a>00198   <span class="comment">//   private bool reportNspAttr;</span>
<a name="l00199"></a>00199   <span class="keywordtype">bool</span> processNsp;
<a name="l00200"></a>00200   <span class="keywordtype">bool</span> relaxed;
<a name="l00201"></a>00201   std::map &lt; std::string, std::string &gt; entityMap;
<a name="l00202"></a>00202   <span class="keywordtype">int</span> depth;
<a name="l00203"></a>00203   std::vector &lt; std::string &gt; nspStack;
<a name="l00204"></a>00204   std::vector &lt; std::string &gt; elementStack;
<a name="l00205"></a>00205   <span class="keywordtype">int</span> *nspCounts;
<a name="l00206"></a>00206   <span class="keywordtype">int</span> nspSize;
<a name="l00207"></a>00207 
<a name="l00208"></a>00208 
<a name="l00209"></a>00209   std::string encoding;
<a name="l00210"></a>00210   <span class="keywordtype">char</span> *srcBuf;
<a name="l00211"></a>00211   <span class="keywordtype">int</span> srcPos;
<a name="l00212"></a>00212   <span class="keywordtype">int</span> srcCount;
<a name="l00213"></a>00213   <span class="keywordtype">int</span> srcBuflength;
<a name="l00214"></a>00214 
<a name="l00215"></a>00215   <span class="comment">//    private bool eof;</span>
<a name="l00216"></a>00216   <span class="keywordtype">int</span> line;
<a name="l00217"></a>00217   <span class="keywordtype">int</span> column;
<a name="l00218"></a>00218 
<a name="l00219"></a>00219   <span class="comment">// txtbuffer</span>
<a name="l00220"></a>00220   <span class="keywordtype">char</span> *txtBuf;
<a name="l00221"></a>00221   <span class="keywordtype">int</span> txtPos;
<a name="l00222"></a>00222   <span class="keywordtype">int</span> txtBufSize;
<a name="l00223"></a>00223 
<a name="l00224"></a>00224   <span class="comment">// Event-related</span>
<a name="l00225"></a>00225   <span class="keywordtype">int</span> type;
<a name="l00226"></a>00226   std::string text;
<a name="l00227"></a>00227   <span class="keywordtype">bool</span> isWspace,skipNextTag;
<a name="l00228"></a>00228   std::string Ns;
<a name="l00229"></a>00229   std::string prefix;
<a name="l00230"></a>00230   std::string name;
<a name="l00231"></a>00231   <span class="keywordtype">bool</span> degenerated;
<a name="l00232"></a>00232   <span class="keywordtype">int</span> attributeCount;
<a name="l00233"></a>00233   std::vector &lt; std::string &gt; attributes;
<a name="l00234"></a>00234   <span class="comment">// source</span>
<a name="l00235"></a>00235   std::istream &amp; reader;
<a name="l00236"></a>00236 
<a name="l00240"></a>00240   <span class="keywordtype">int</span> peek[2];
<a name="l00241"></a>00241   <span class="keywordtype">int</span> peekCount;
<a name="l00242"></a>00242   <span class="keywordtype">bool</span> wasCR;
<a name="l00243"></a>00243   <span class="keywordtype">bool</span> unresolved;
<a name="l00244"></a>00244   <span class="keywordtype">bool</span> token;
<a name="l00245"></a>00245 };
<a name="l00246"></a>00246 <span class="preprocessor">#endif                                            </span><span class="comment">/*  */</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>