Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 4f5f2dc0f55b453456458df885792b0b > files > 446

ucommon-doc-5.0.4-1mdv2010.2.i586.rpm

<!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>ucommon: ucommon::utf8_pointer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</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>
  <div class="navpath"><a class="el" href="a00208.html">ucommon</a>::<a class="el" href="a00171.html">utf8_pointer</a>
  </div>
</div>
<div class="contents">
<h1>ucommon::utf8_pointer Class Reference</h1><!-- doxytag: class="ucommon::utf8_pointer" -->
<p>Pointer to <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> encoded character data.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00205_source.html">unicode.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a17fff0579e317c3773f8b62a5f802623">c_str</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get c string we point to.  <a href="#a17fff0579e317c3773f8b62a5f802623"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee50f18626981dc0e1b6e4ab81d28d3f"></a><!-- doxytag: member="ucommon::utf8_pointer::dec" ref="aee50f18626981dc0e1b6e4ab81d28d3f" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#aee50f18626981dc0e1b6e4ab81d28d3f">dec</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterative decrement of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to prior codepoint. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a25e2fa29809cd054aa90f4c418853b"></a><!-- doxytag: member="ucommon::utf8_pointer::inc" ref="a1a25e2fa29809cd054aa90f4c418853b" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a1a25e2fa29809cd054aa90f4c418853b">inc</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterative increment of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to next codepoint. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#af4c0e37c5401da6f65ff92b2ec9a6d46">len</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get length of null terminated <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string in codepoints.  <a href="#af4c0e37c5401da6f65ff92b2ec9a6d46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a20306a91be2274552ce5d23ca83f6a34">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if text is valid pointer.  <a href="#a20306a91be2274552ce5d23ca83f6a34"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a7241ea9da52bb4af8b39bd3a0f80e12c">operator char *</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to a generic string pointer.  <a href="#a7241ea9da52bb4af8b39bd3a0f80e12c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a23519b3e2f40c5728b247003ed2ca5ad">operator!</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if text is an invalid pointer.  <a href="#a23519b3e2f40c5728b247003ed2ca5ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#af07b961a8da2707dad8f3785ce93f313">operator!=</a> (const char *<a class="el" href="a00148.html">string</a>) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">check if pointer does not equal another string.  <a href="#af07b961a8da2707dad8f3785ce93f313"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00208.html#aaa2499ef76785d12d303b525ad1a042e">ucs4_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a92825ca16fecd34d156cc87fd52bd6d7">operator*</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get unicode character pointed to by pointer.  <a href="#a92825ca16fecd34d156cc87fd52bd6d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a20f77898134adf0968da793d0ae95746">operator+</a> (long offset) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string after adding a codepoint offset.  <a href="#a20f77898134adf0968da793d0ae95746"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a893404b84a85c86143e248b1414dca22">operator++</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterative increment of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to prior codepoint.  <a href="#a893404b84a85c86143e248b1414dca22"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a11137b3ca7fdc12b42d8ccd2b20feb78">operator+=</a> (long offset)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adjust <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer by specified codepoints forward.  <a href="#a11137b3ca7fdc12b42d8ccd2b20feb78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a96bf8724f69923d6b709090ccb7b62c0">operator-</a> (long offset) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string after subtracting a codepoint offset.  <a href="#a96bf8724f69923d6b709090ccb7b62c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#ab8105af4398a5d71f5ac6848d12bae4b">operator--</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterative decrement of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to next codepoint.  <a href="#ab8105af4398a5d71f5ac6848d12bae4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a2bdbb5621969216e6feb015d0593dca3">operator-=</a> (long offset)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adjust <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer by specified codepoints backward.  <a href="#a2bdbb5621969216e6feb015d0593dca3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#aab4bd1be0ffed70fb1ce39bcbf0a008c">operator=</a> (const char *<a class="el" href="a00148.html">string</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string to point to.  <a href="#aab4bd1be0ffed70fb1ce39bcbf0a008c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#aaebd0112e288c459e6b1590973d8d7b0">operator==</a> (const char *<a class="el" href="a00148.html">string</a>) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">check if pointer equals another string.  <a href="#aaebd0112e288c459e6b1590973d8d7b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00208.html#aaa2499ef76785d12d303b525ad1a042e">ucs4_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#a237e33c405eb136ffbe001049577fb83">operator[]</a> (long codepoint) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extract a unicode character from a specified codepoint.  <a href="#a237e33c405eb136ffbe001049577fb83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#ad168653c125dcdea8859cdbeba0a325b">utf8_pointer</a> (const <a class="el" href="a00171.html">utf8_pointer</a> &amp;copy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer as a copy of existing <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer.  <a href="#ad168653c125dcdea8859cdbeba0a325b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#af1900de43bb8226c34e641f27b4d0132">utf8_pointer</a> (const char *<a class="el" href="a00148.html">string</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer for an existing char pointer.  <a href="#af1900de43bb8226c34e641f27b4d0132"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff93e73ed776e7adea8ac44a20db3da1"></a><!-- doxytag: member="ucommon::utf8_pointer::utf8_pointer" ref="aff93e73ed776e7adea8ac44a20db3da1" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#aff93e73ed776e7adea8ac44a20db3da1">utf8_pointer</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer set to NULL. <br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a171767aa2dd086574a2374f290e10a6e"></a><!-- doxytag: member="ucommon::utf8_pointer::text" ref="a171767aa2dd086574a2374f290e10a6e" args="" -->
uint8_t *&nbsp;</td><td class="memItemRight" valign="bottom"><b>text</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Pointer to <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> encoded character data. </p>
<p>This is a kind of "char *" for <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> text. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00347">347</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af1900de43bb8226c34e641f27b4d0132"></a><!-- doxytag: member="ucommon::utf8_pointer::utf8_pointer" ref="af1900de43bb8226c34e641f27b4d0132" args="(const char *string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucommon::utf8_pointer::utf8_pointer </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer for an existing char pointer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>pointer to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad168653c125dcdea8859cdbeba0a325b"></a><!-- doxytag: member="ucommon::utf8_pointer::utf8_pointer" ref="ad168653c125dcdea8859cdbeba0a325b" args="(const utf8_pointer &amp;copy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucommon::utf8_pointer::utf8_pointer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00171.html">utf8_pointer</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>copy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer as a copy of existing <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer. </p>
<dl><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>of object to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a17fff0579e317c3773f8b62a5f802623"></a><!-- doxytag: member="ucommon::utf8_pointer::c_str" ref="a17fff0579e317c3773f8b62a5f802623" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ucommon::utf8_pointer::c_str </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get c string we point to. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>string we point to. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00475">475</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="af4c0e37c5401da6f65ff92b2ec9a6d46"></a><!-- doxytag: member="ucommon::utf8_pointer::len" ref="af4c0e37c5401da6f65ff92b2ec9a6d46" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t ucommon::utf8_pointer::len </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get length of null terminated <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string in codepoints. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>codepoint length of string. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00489">489</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a20306a91be2274552ce5d23ca83f6a34"></a><!-- doxytag: member="ucommon::utf8_pointer::operator bool" ref="a20306a91be2274552ce5d23ca83f6a34" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucommon::utf8_pointer::operator bool </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if text is valid pointer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if not NULL. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00414">414</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7241ea9da52bb4af8b39bd3a0f80e12c"></a><!-- doxytag: member="ucommon::utf8_pointer::operator char *" ref="a7241ea9da52bb4af8b39bd3a0f80e12c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucommon::utf8_pointer::operator char * </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convert <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to a generic string pointer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>generic string pointer. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00482">482</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a23519b3e2f40c5728b247003ed2ca5ad"></a><!-- doxytag: member="ucommon::utf8_pointer::operator!" ref="a23519b3e2f40c5728b247003ed2ca5ad" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucommon::utf8_pointer::operator! </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if text is an invalid pointer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>false if not NULL. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00421">421</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="af07b961a8da2707dad8f3785ce93f313"></a><!-- doxytag: member="ucommon::utf8_pointer::operator!=" ref="af07b961a8da2707dad8f3785ce93f313" args="(const char *string) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucommon::utf8_pointer::operator!= </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>check if pointer does not equal another string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false if same memory address. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00461">461</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a92825ca16fecd34d156cc87fd52bd6d7"></a><!-- doxytag: member="ucommon::utf8_pointer::operator*" ref="a92825ca16fecd34d156cc87fd52bd6d7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00208.html#aaa2499ef76785d12d303b525ad1a042e">ucs4_t</a> ucommon::utf8_pointer::operator* </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get unicode character pointed to by pointer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>unicode character we are pointing to. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00468">468</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a20f77898134adf0968da793d0ae95746"></a><!-- doxytag: member="ucommon::utf8_pointer::operator+" ref="a20f77898134adf0968da793d0ae95746" args="(long offset) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a> ucommon::utf8_pointer::operator+ </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string after adding a codepoint offset. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>to add. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer pointing to specified offset. </dd></dl>

</div>
</div>
<a class="anchor" id="a893404b84a85c86143e248b1414dca22"></a><!-- doxytag: member="ucommon::utf8_pointer::operator++" ref="a893404b84a85c86143e248b1414dca22" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a>&amp; ucommon::utf8_pointer::operator++ </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Iterative increment of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to prior codepoint. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>object incremented. </dd></dl>

</div>
</div>
<a class="anchor" id="a11137b3ca7fdc12b42d8ccd2b20feb78"></a><!-- doxytag: member="ucommon::utf8_pointer::operator+=" ref="a11137b3ca7fdc12b42d8ccd2b20feb78" args="(long offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a>&amp; ucommon::utf8_pointer::operator+= </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjust <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer by specified codepoints forward. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>to increment by. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object incremented. </dd></dl>

</div>
</div>
<a class="anchor" id="a96bf8724f69923d6b709090ccb7b62c0"></a><!-- doxytag: member="ucommon::utf8_pointer::operator&#45;" ref="a96bf8724f69923d6b709090ccb7b62c0" args="(long offset) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a> ucommon::utf8_pointer::operator- </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string after subtracting a codepoint offset. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>to subtract. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer pointing to specified offset. </dd></dl>

</div>
</div>
<a class="anchor" id="ab8105af4398a5d71f5ac6848d12bae4b"></a><!-- doxytag: member="ucommon::utf8_pointer::operator&#45;&#45;" ref="ab8105af4398a5d71f5ac6848d12bae4b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a>&amp; ucommon::utf8_pointer::operator-- </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Iterative decrement of a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer to next codepoint. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>object decremented. </dd></dl>

</div>
</div>
<a class="anchor" id="a2bdbb5621969216e6feb015d0593dca3"></a><!-- doxytag: member="ucommon::utf8_pointer::operator&#45;=" ref="a2bdbb5621969216e6feb015d0593dca3" args="(long offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a>&amp; ucommon::utf8_pointer::operator-= </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>offset</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjust <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> pointer by specified codepoints backward. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>to decrement by. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object decremented. </dd></dl>

</div>
</div>
<a class="anchor" id="aab4bd1be0ffed70fb1ce39bcbf0a008c"></a><!-- doxytag: member="ucommon::utf8_pointer::operator=" ref="aab4bd1be0ffed70fb1ce39bcbf0a008c" args="(const char *string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00171.html">utf8_pointer</a>&amp; ucommon::utf8_pointer::operator= </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a <a class="el" href="a00170.html" title="A core class of ut8 encoded string functions.">utf8</a> string to point to. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>to point to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>current object after set to string. </dd></dl>

</div>
</div>
<a class="anchor" id="aaebd0112e288c459e6b1590973d8d7b0"></a><!-- doxytag: member="ucommon::utf8_pointer::operator==" ref="aaebd0112e288c459e6b1590973d8d7b0" args="(const char *string) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucommon::utf8_pointer::operator== </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>string</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>check if pointer equals another string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if same memory address. </dd></dl>

<p>Definition at line <a class="el" href="a00205_source.html#l00453">453</a> of file <a class="el" href="a00205_source.html">unicode.h</a>.</p>

</div>
</div>
<a class="anchor" id="a237e33c405eb136ffbe001049577fb83"></a><!-- doxytag: member="ucommon::utf8_pointer::operator[]" ref="a237e33c405eb136ffbe001049577fb83" args="(long codepoint) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00208.html#aaa2499ef76785d12d303b525ad1a042e">ucs4_t</a> ucommon::utf8_pointer::operator[] </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>codepoint</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extract a unicode character from a specified codepoint. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>codepoint</em>&nbsp;</td><td>offset to extract character from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>unicode character or 0. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00205_source.html">unicode.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Jul 14 16:40:11 2011 for ucommon by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>