Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > c200d180bc1063a7706e0da42a546b51 > files > 92

atlascpp-devel-0.6.1-7.fc12.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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 class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Utility.h File Reference</h1>Various utility functions for codec implementation.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;cstdio&gt;</code><br>
<code>#include &lt;string&gt;</code><br>

<p>
<a href="_utility_8h_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas.html">Atlas</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="namespace_atlas.html" title="The Atlas namespace.">Atlas</a> namespace. <br></td></tr>

<p>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7845bc40fa5f1842db9509ec2e005cb"></a><!-- doxytag: member="Utility.h::charToHex" ref="d7845bc40fa5f1842db9509ec2e005cb" args="(char c)" -->
const std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas_1_1_codecs.html#d7845bc40fa5f1842db9509ec2e005cb">Atlas::Codecs::charToHex</a> (char c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an ASCII char to its hexadecimal value. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="441f0851fd906431a33f469750437d0a"></a><!-- doxytag: member="Utility.h::hexToChar" ref="441f0851fd906431a33f469750437d0a" args="(const std::string &amp;hex)" -->
char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_atlas_1_1_codecs.html#441f0851fd906431a33f469750437d0a">Atlas::Codecs::hexToChar</a> (const std::string &amp;hex)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a string with a hexadecimal value (2 characters) to an ASCII char. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d057d05ed9f5dbe66ed2ead9b71c8be"></a><!-- doxytag: member="Utility.h::hexEncodeWithPrefix" ref="3d057d05ed9f5dbe66ed2ead9b71c8be" args="(const std::string &amp;prefix, const std::string &amp;special, const std::string &amp;message)" -->
const std::string&nbsp;</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" nowrap align="right" valign="top"><a class="anchor" name="7df3dbc0cdff2053aef17fe594126d49"></a><!-- doxytag: member="Utility.h::hexDecodeWithPrefix" ref="7df3dbc0cdff2053aef17fe594126d49" args="(const std::string &amp;prefix, const std::string &amp;message)" -->
const std::string&nbsp;</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><h2>Detailed Description</h2>
Various utility functions for codec implementation. 
<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" compact><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" compact><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>
<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>