Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 626e7b9df2c26f4a1ac4abc5819592a1 > files > 92

atlascpp-devel-0.6.2-1.fc15.i686.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>Atlas-C++: Utility.h File 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.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Atlas-C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Utility.h File Reference</div>  </div>
</div>
<div class="contents">

<p>Various utility functions for codec implementation.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;cstdio&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
</div>
<p><a href="_utility_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas.html">Atlas</a></td></tr>

<p><tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>The <a class="el" href="namespace_atlas.html" title="The Atlas namespace.">Atlas</a> namespace. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7845bc40fa5f1842db9509ec2e005cb"></a><!-- doxytag: member="Utility.h::charToHex" ref="ad7845bc40fa5f1842db9509ec2e005cb" args="(char c)" -->
const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas_1_1_codecs.html#ad7845bc40fa5f1842db9509ec2e005cb">Atlas::Codecs::charToHex</a> (char c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert an ASCII char to its hexadecimal value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a441f0851fd906431a33f469750437d0a"></a><!-- doxytag: member="Utility.h::hexToChar" ref="a441f0851fd906431a33f469750437d0a" args="(const std::string &amp;hex)" -->
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas_1_1_codecs.html#a441f0851fd906431a33f469750437d0a">Atlas::Codecs::hexToChar</a> (const std::string &amp;hex)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a string with a hexadecimal value (2 characters) to an ASCII char. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d057d05ed9f5dbe66ed2ead9b71c8be"></a><!-- doxytag: member="Utility.h::hexEncodeWithPrefix" ref="a3d057d05ed9f5dbe66ed2ead9b71c8be" args="(const std::string &amp;prefix, const std::string &amp;special, const std::string &amp;message)" -->
const std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Atlas::Codecs::hexEncodeWithPrefix</b> (const std::string &amp;prefix, const std::string &amp;special, const std::string &amp;message)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7df3dbc0cdff2053aef17fe594126d49"></a><!-- doxytag: member="Utility.h::hexDecodeWithPrefix" ref="a7df3dbc0cdff2053aef17fe594126d49" args="(const std::string &amp;prefix, const std::string &amp;message)" -->
const std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Atlas::Codecs::hexDecodeWithPrefix</b> (const std::string &amp;prefix, const std::string &amp;message)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Various utility functions for codec implementation. </p>
<p>This file contains various functions that can be used in implementing an <a class="el" href="class_atlas_1_1_codec.html" title="Atlas stream codec.">Atlas::Codec</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_atlas_1_1_codec.html" title="Atlas stream codec.">Atlas::Codec</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Stefanus Du Toit &lt;<a href="mailto:sdt@gmx.net">sdt@gmx.net</a>&gt;, Michael Day &lt;<a href="mailto:mikeday@corplink.com.au">mikeday@corplink.com.au</a>&gt; </dd></dl>
</div></div>
<HR>
<P>Copyright 2000-2004 the respective authors.</P>
<P>This document can be licensed under the terms of the GNU Free Documentation
License or the GNU General Public License and may be freely distributed under
the terms given by one of these licenses.</P>