Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 82bf76c75b44c3e54c5dc9d8c4b11ab5 > files > 22

cgicc-3.2.8-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
   "http://www.w3.org/TR/REC-html40/loose.dtd">

<html lang="en" dir="LTR">

<head>
  <!-- $Id: header.html,v 1.5 2004/06/12 01:58:25 sbooth Exp $ -->
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>cgicc: CgiUtils.h File Reference</title>
  <link rev="made" href="mailto:bug-cgicc@gnu.org" />
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
  <link href="cgicc-doc.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="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>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CgiUtils.h File Reference</h1>A collection of utility functions.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;new&gt;</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;fstream&gt;</code><br>
<code>#include &quot;<a class="el" href="CgiDefs_8h_source.html">cgicc/CgiDefs.h</a>&quot;</code><br>

<p>
<a href="CgiUtils_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="namespacecgicc.html">cgicc</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The namespace containing the <a class="el" href="namespacecgicc.html" title="The namespace containing the cgicc library.">cgicc</a> library. <br></td></tr>

<p>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26e0ae38ef7f591c747602f2c30953b2"></a><!-- doxytag: member="CgiUtils.h::_CGIUTILS_H_" ref="26e0ae38ef7f591c747602f2c30953b2" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>_CGIUTILS_H_</b>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#355209b76eb905b0ae9ea3521976f8de">cgicc::stringsAreEqual</a> (const std::string &amp;s1, const std::string &amp;s2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two strings for equality, ignoring case.  <a href="#355209b76eb905b0ae9ea3521976f8de"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#1843f09ba8c7fe13ca184db2a7910907">cgicc::stringsAreEqual</a> (const std::string &amp;ss1, const std::string &amp;ss2, size_t n)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two strings for equality, ignoring case.  <a href="#1843f09ba8c7fe13ca184db2a7910907"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#6d606205b854b83dc93b0e180e8d5598">cgicc::form_urldecode</a> (const std::string &amp;src)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert encoded characters in form data to normal ASCII.  <a href="#6d606205b854b83dc93b0e180e8d5598"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#90356a1f522eeb502bb68e7d87a1f848">cgicc::form_urlencode</a> (const std::string &amp;src)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an ASCII string to a URL-safe string.  <a href="#90356a1f522eeb502bb68e7d87a1f848"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#a72f3738eeba3a348d178f7ebfe27720">cgicc::charToHex</a> (char c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert an ASCII character to its hexadecimal equivalent.  <a href="#a72f3738eeba3a348d178f7ebfe27720"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#d5558ddd534a530f1f597e32fc514fe0">cgicc::hexToChar</a> (char first, char second)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a hex-encoded character to its ASCII equivalent.  <a href="#d5558ddd534a530f1f597e32fc514fe0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#80882c9a99285dcc69d577874ddfe834">cgicc::extractBetween</a> (const std::string &amp;data, const std::string &amp;separator1, const std::string &amp;separator2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extract a substring contained within two separators.  <a href="#80882c9a99285dcc69d577874ddfe834"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#a5dbcc11f5e88fe2a9d0d5519bee8aff">cgicc::extractBetween</a> (const std::string &amp;datas, const std::string &amp;separators)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extract a substring contained between a separator.  <a href="#a5dbcc11f5e88fe2a9d0d5519bee8aff"></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="namespacecgicc.html#ef35a44e58c23940fdc18368de02b0ec">cgicc::writeString</a> (std::ostream &amp;out, const std::string &amp;s)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a string to an ostream.  <a href="#ef35a44e58c23940fdc18368de02b0ec"></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="namespacecgicc.html#d5c3fa32982333079fb27c9bca749461">cgicc::writeLong</a> (std::ostream &amp;out, unsigned long l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a long to an ostream.  <a href="#d5c3fa32982333079fb27c9bca749461"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#efaaa543b2a0b25fb169dbef1f382765">cgicc::readString</a> (std::istream &amp;in)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a string from an istream.  <a href="#efaaa543b2a0b25fb169dbef1f382765"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecgicc.html#603369a57b24c23ad2d054eb381fd830">cgicc::readLong</a> (std::istream &amp;in)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a long from an istream.  <a href="#603369a57b24c23ad2d054eb381fd830"></a><br></td></tr>
</table>
<hr><h2>Detailed Description</h2>
A collection of utility functions. 
<p>
These utility functions are used internally by <a class="el" href="namespacecgicc.html" title="The namespace containing the cgicc library.">cgicc</a> to decode posted form data, and to read/write from streams. 
<p>Definition in file <a class="el" href="CgiUtils_8h_source.html">CgiUtils.h</a>.</p>
</div>
<!-- $Id: footer.html,v 1.7 2004/06/12 01:58:25 sbooth Exp $ -->

<hr>

<address><small>
<a href="http://www.cgicc.org">GNU cgicc</a> - A C++ class library for
writing CGI applications<br />
Copyright &copy; 1996 - 2004 
<a href="mailto:sboothATgnuDOTorg">Stephen F. Booth</a><br />
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front Cover Texts, and with no Back-Cover
Texts.<br />
Documentation generated Tue Jun 9 15:03:49 2009 for cgicc by
<a HREF="http://www.doxygen.org/index.html">doxygen</a> 1.5.9
</small></address>

</body>

</html>