Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 117

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: ParsePosition Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>ParsePosition Class Reference</h1><!-- doxytag: class="ParsePosition" --><!-- doxytag: inherits="UObject" --><code><a class="el" href="classParsePosition.html">ParsePosition</a></code> is a simple class used by <code><a class="el" href="classFormat.html">Format</a></code> and its subclasses to keep track of the current position during parsing.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="parsepos_8h-source.html">parsepos.h</a>&gt;</code>
<p>
<p>Inheritance diagram for ParsePosition:
<p><center><img src="classParsePosition.png" usemap="#ParsePosition_map" border="0" alt=""></center>
<map name="ParsePosition_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,89,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,89,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#720c03d1ded2e29cdf1abfd987d7bc83">ParsePosition</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor, the index starts with 0 as default.  <a href="#720c03d1ded2e29cdf1abfd987d7bc83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#459b19ed102710f830784be50840bb52">ParsePosition</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newIndex)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classParsePosition.html">ParsePosition</a> with the given initial index.  <a href="#459b19ed102710f830784be50840bb52"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#1dd06764f2779bfadf23a28628854016">ParsePosition</a> (const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;copy)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#1dd06764f2779bfadf23a28628854016"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#bc24a4fe47d470fdfb2b19dd5d28f536">~ParsePosition</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#bc24a4fe47d470fdfb2b19dd5d28f536"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#6fcc5a6b017759640500f94d67a1e21f">operator=</a> (const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;copy)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#6fcc5a6b017759640500f94d67a1e21f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#d65ffb1c56330b846f41da3782a26b60">operator==</a> (const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;that) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Equality operator.  <a href="#d65ffb1c56330b846f41da3782a26b60"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#1dd0647832dddefc4d345ae1b36b4923">operator!=</a> (const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;that) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Equality operator.  <a href="#1dd0647832dddefc4d345ae1b36b4923"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classParsePosition.html">ParsePosition</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#7e24d7e4839a3a5bce676b89d8b8d1e2">clone</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clone this object.  <a href="#7e24d7e4839a3a5bce676b89d8b8d1e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#96fba5bb98e954d55d416ec24d411759">getIndex</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the current parse position.  <a href="#96fba5bb98e954d55d416ec24d411759"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#b829e487731a43863e682396f35ea7b6">setIndex</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the current parse position.  <a href="#b829e487731a43863e682396f35ea7b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#3827f98b37e3830ba0361b7c0f42100b">setErrorIndex</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ei)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the index at which a parse error occurred.  <a href="#3827f98b37e3830ba0361b7c0f42100b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#e45548420e7fae72696e94faece728b7">getErrorIndex</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the index at which an error occurred, or -1 if the error index has not been set.  <a href="#e45548420e7fae72696e94faece728b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#61d952cc10d1eb10632e9b71f7b992f6">getDynamicClassID</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#61d952cc10d1eb10632e9b71f7b992f6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParsePosition.html#836783e8f198c54435728cc8c926a3d9">getStaticClassID</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#836783e8f198c54435728cc8c926a3d9"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<code><a class="el" href="classParsePosition.html">ParsePosition</a></code> is a simple class used by <code><a class="el" href="classFormat.html">Format</a></code> and its subclasses to keep track of the current position during parsing. 
<p>
The <code>parseObject</code> method in the various <code><a class="el" href="classFormat.html">Format</a></code> classes requires a <code><a class="el" href="classParsePosition.html">ParsePosition</a></code> object as an argument.<p>
By design, as you parse through a string with different formats, you can use the same <code><a class="el" href="classParsePosition.html">ParsePosition</a></code>, since the index parameter records the current position.<p>
The <a class="el" href="classParsePosition.html">ParsePosition</a> class is not suitable for subclassing.<p>
<dl class="version" compact><dt><b>Version:</b></dt><dd>1.3 10/30/97 </dd></dl>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Mark Davis, Helena Shih </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>java.text.Format </dd></dl>

<p>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00047">47</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="720c03d1ded2e29cdf1abfd987d7bc83"></a><!-- doxytag: member="ParsePosition::ParsePosition" ref="720c03d1ded2e29cdf1abfd987d7bc83" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParsePosition::ParsePosition           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor, the index starts with 0 as default. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000205">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00053">53</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="459b19ed102710f830784be50840bb52"></a><!-- doxytag: member="ParsePosition::ParsePosition" ref="459b19ed102710f830784be50840bb52" args="(int32_t newIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParsePosition::ParsePosition           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newIndex</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classParsePosition.html">ParsePosition</a> with the given initial index. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newIndex</em>&nbsp;</td><td>the new text offset. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000206">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00064">64</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="1dd06764f2779bfadf23a28628854016"></a><!-- doxytag: member="ParsePosition::ParsePosition" ref="1dd06764f2779bfadf23a28628854016" args="(const ParsePosition &amp;copy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParsePosition::ParsePosition           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>copy</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>copy</em>&nbsp;</td><td>the object to be copied from. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000207">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00075">75</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="bc24a4fe47d470fdfb2b19dd5d28f536"></a><!-- doxytag: member="ParsePosition::~ParsePosition" ref="bc24a4fe47d470fdfb2b19dd5d28f536" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ParsePosition::~ParsePosition           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000208">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6fcc5a6b017759640500f94d67a1e21f"></a><!-- doxytag: member="ParsePosition::operator=" ref="6fcc5a6b017759640500f94d67a1e21f" args="(const ParsePosition &amp;copy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp; ParsePosition::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>copy</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000209">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00183">183</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
<p>
References <a class="el" href="parsepos_8h-source.html#l00178">errorIndex</a>, and <a class="el" href="parsepos_8h-source.html#l00173">index</a>.
</div>
</div><p>
<a class="anchor" name="d65ffb1c56330b846f41da3782a26b60"></a><!-- doxytag: member="ParsePosition::operator==" ref="d65ffb1c56330b846f41da3782a26b60" args="(const ParsePosition &amp;that) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ParsePosition::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Equality operator. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the two parse positions are equal, FALSE otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000210">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00191">191</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
<p>
References <a class="el" href="parsepos_8h-source.html#l00178">errorIndex</a>, <a class="el" href="umachine_8h-source.html#l00202">FALSE</a>, <a class="el" href="parsepos_8h-source.html#l00173">index</a>, and <a class="el" href="umachine_8h-source.html#l00198">TRUE</a>.
<p>
Referenced by <a class="el" href="parsepos_8h-source.html#l00200">operator!=()</a>.
</div>
</div><p>
<a class="anchor" name="1dd0647832dddefc4d345ae1b36b4923"></a><!-- doxytag: member="ParsePosition::operator!=" ref="1dd0647832dddefc4d345ae1b36b4923" args="(const ParsePosition &amp;that) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ParsePosition::operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Equality operator. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the two parse positions are not equal, FALSE otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000211">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00200">200</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
<p>
References <a class="el" href="parsepos_8h-source.html#l00191">operator==()</a>.
</div>
</div><p>
<a class="anchor" name="7e24d7e4839a3a5bce676b89d8b8d1e2"></a><!-- doxytag: member="ParsePosition::clone" ref="7e24d7e4839a3a5bce676b89d8b8d1e2" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classParsePosition.html">ParsePosition</a>* ParsePosition::clone           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clone this object. 
<p>
Clones can be used concurrently in multiple threads. If an error occurs, then NULL is returned. The caller must delete the clone.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a clone of this object</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classParsePosition.html#61d952cc10d1eb10632e9b71f7b992f6">getDynamicClassID</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000212">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="96fba5bb98e954d55d416ec24d411759"></a><!-- doxytag: member="ParsePosition::getIndex" ref="96fba5bb98e954d55d416ec24d411759" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ParsePosition::getIndex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the current parse position. 
<p>
On input to a parse method, this is the index of the character at which parsing will begin; on output, it is the index of the character following the last character parsed. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the current index. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000213">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00206">206</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="b829e487731a43863e682396f35ea7b6"></a><!-- doxytag: member="ParsePosition::setIndex" ref="b829e487731a43863e682396f35ea7b6" args="(int32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ParsePosition::setIndex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the current parse position. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>the new index. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000214">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00212">212</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="3827f98b37e3830ba0361b7c0f42100b"></a><!-- doxytag: member="ParsePosition::setErrorIndex" ref="3827f98b37e3830ba0361b7c0f42100b" args="(int32_t ei)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ParsePosition::setErrorIndex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>ei</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the index at which a parse error occurred. 
<p>
Formatters should set this before returning an error code from their parseObject method. The default value is -1 if this is not set. <dl compact><dt><b><a class="el" href="stable.html#_stable000215">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00224">224</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="e45548420e7fae72696e94faece728b7"></a><!-- doxytag: member="ParsePosition::getErrorIndex" ref="e45548420e7fae72696e94faece728b7" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ParsePosition::getErrorIndex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the index at which an error occurred, or -1 if the error index has not been set. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000216">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="parsepos_8h-source.html#l00218">218</a> of file <a class="el" href="parsepos_8h-source.html">parsepos.h</a>.
</div>
</div><p>
<a class="anchor" name="836783e8f198c54435728cc8c926a3d9"></a><!-- doxytag: member="ParsePosition::getStaticClassID" ref="836783e8f198c54435728cc8c926a3d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ParsePosition::getStaticClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000217">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="61d952cc10d1eb10632e9b71f7b992f6"></a><!-- doxytag: member="ParsePosition::getDynamicClassID" ref="61d952cc10d1eb10632e9b71f7b992f6" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ParsePosition::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for the actual class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000218">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="parsepos_8h-source.html">parsepos.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:43 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>