autodoc.git / traditional_manual / chapter_21.html

version» Context lines:

autodoc.git/traditional_manual/chapter_21.html:15218:   <dd class='body--doc'><p>All character set names are normalized through this function    before compared.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>set_decoder</b></span>   </dt> - <dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_decoder</span>(</b><code class='datatype'>string</code> <code class='argument'>name</code>, <code class='object unresolved'>Decoder</code> <code class='argument'>decoder</code><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_decoder</span>(</b><code class='datatype'>string</code> <code class='argument'>name</code>, <code class='datatype'>program</code> <code class='argument'>decoder</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Adds a custom defined character set decoder. The name is    normalized through the use of <code>normalize</code>.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>set_encoder</b></span>   </dt> - <dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_encoder</span>(</b><code class='datatype'>string</code> <code class='argument'>name</code>, <code class='object unresolved'>Encoder</code> <code class='argument'>encoder</code><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_encoder</span>(</b><code class='datatype'>string</code> <code class='argument'>name</code>, <code class='datatype'>program</code> <code class='argument'>encoder</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Adds a custom defined character set encoder. The name is    normalized through the use of <code>normalize</code>.</p>   </dd></dl> - <dl><dt><h2 class='header'>Class <b class='ms datatype'>Charset.DecodeError</b></h2> + <dl><dt><h2 class='header'>Class <b class='ms datatype'>Charset.CharsetGenericError</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Description</dt> -  + <dd class='body--doc'><p>Base class for errors thrown by the <code>Charset</code> module.</p> + </dd></dl> +  + <hr /> + <dl class='group--doc'> + <dt class='head--type'><span class='homogen--type'>Inherit</span> + <span class='homogen--name'><b>Generic</b></span> + </dt> + <dd><p><code><span class='datatype'>inherit Error.Generic</span> : <span class='inherit'>Generic</span></code></p></dd> + </dl> + </dd></dl><dl><dt><h2 class='header'>Class <b class='ms datatype'>Charset.DecodeError</b></h2> + </dt><dd><dl class='group--doc'> + <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Error thrown when decode fails (and no replacement char or    replacement callback has been registered).</p>   </dd><dt class='head--fixme'>FIXME</dt>   <dd class='body--fixme'><p>This error class is not actually used by this module yet - decode    errors are still thrown as untyped error arrays. At this point it    exists only for use by other modules.</p>   </dd></dl>      <hr />   <dl class='group--doc'>
autodoc.git/traditional_manual/chapter_21.html:15296:   <dd><p><code><code class='datatype'>string</code> Charset.DecodeError.<b><span class='variable'>err_str</span></b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The string that failed to be decoded.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Inherit</span> - <span class='homogen--name'><b>Generic</b></span> + <span class='homogen--name'><b>CharsetGenericError</b></span>   </dt> - <dd><p><code><span class='datatype'>inherit Error.Generic</span> : <span class='inherit'>Generic</span></code></p></dd> + <dd><p><code><span class='datatype'>inherit CharsetGenericError</span> : <span class='inherit'>CharsetGenericError</span></code></p></dd>   </dl>   </dd></dl><dl><dt><h2 class='header'>Class <b class='ms datatype'>Charset.Decoder</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Virtual base class for charset decoders.</p>   </dd>   <dt class='head--doc'>Example</dt>   <dd class='example'><pre><p>string win1252_to_string( string data )    {    return Charset.decoder("windows-1252")-&gt;feed( data )-&gt;drain();
autodoc.git/traditional_manual/chapter_21.html:15436:   <dd><p><code><code class='datatype'>string</code> Charset.EncodeError.<b><span class='variable'>err_str</span></b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The string that failed to be encoded.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Inherit</span> - <span class='homogen--name'><b>Generic</b></span> + <span class='homogen--name'><b>CharsetGenericError</b></span>   </dt> - <dd><p><code><span class='datatype'>inherit Error.Generic</span> : <span class='inherit'>Generic</span></code></p></dd> + <dd><p><code><span class='datatype'>inherit CharsetGenericError</span> : <span class='inherit'>CharsetGenericError</span></code></p></dd>   </dl>   </dd></dl><dl><dt><h2 class='header'>Class <b class='ms datatype'>Charset.Encoder</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Virtual base class for charset encoders.</p>   </dd></dl>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Variable</span>