Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5674b83e4098065ec8ee4138eac12e58 > files > 434

lib64gigi-devel-0.8.0-8.1074.1.x86_64.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>GG: StrongTypedef.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GG
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
  <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="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>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_a8649c70aabfef076611d3be10291d33.html">GG</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">StrongTypedef.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;boost/static_assert.hpp&gt;</code><br/>
<code>#include &lt;boost/type_traits/is_integral.hpp&gt;</code><br/>
<code>#include &lt;iostream&gt;</code><br/>
</div>
<p><a href="StrongTypedef_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceGG"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGG.html">GG</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a8dc71c9fd406a4b66f4f273a1f4e68a7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="StrongTypedef_8h.html#a8dc71c9fd406a4b66f4f273a1f4e68a7">GG_STRONG_INTEGRAL_TYPEDEF</a>(name, type)</td></tr>
<tr class="memitem:a8eaabc0c752cf6586400de5bf615e78a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="StrongTypedef_8h.html#a8eaabc0c752cf6586400de5bf615e78a">GG_STRONG_SIZE_TYPEDEF</a>(name)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afc42f9ee7e710125d02d98d1f5cbf421"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGG.html#afc42f9ee7e710125d02d98d1f5cbf421">GG::Value</a> (int i)</td></tr>
<tr class="memitem:a31a22f383394374a41ece3c854f2ad9c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGG.html#a31a22f383394374a41ece3c854f2ad9c">GG::Value</a> (double d)</td></tr>
<tr class="memitem:ac0e25af0f153f050e0fcd7f616743a67"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGG.html#ac0e25af0f153f050e0fcd7f616743a67">GG::Value</a> (std::size_t s)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Contains macros used to create "strong
    typedefs", that is value types that are not mutually interoperable with each other or with builtin types for extra type safety. </p>

<p>Definition in file <a class="el" href="StrongTypedef_8h_source.html">StrongTypedef.h</a>.</p>
</div><hr/><h2>Macro Definition Documentation</h2>
<a class="anchor" id="a8dc71c9fd406a4b66f4f273a1f4e68a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GG_STRONG_INTEGRAL_TYPEDEF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">type&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new type <em>name</em>, based on underlying type <em>type</em>, which is not interconvertible with any other numeric type. <em>type</em> must be an integral type. The resulting type has most of the operations of the underlying integral type. Specifically, the type is totally ordered, incrementable, decrementable, and arithmetic. The type is also interarithemtic with and comparable to objects of types <em>type</em> and double. Note that the free functions accepting doubles return GG_STRONG_DOUBLE_TYPEDEF's called <em>name_d</em>. This allows <em>name</em> objects to be used in floating point math. </p>

<p>Definition at line <a class="el" href="StrongTypedef_8h_source.html#l00259">259</a> of file <a class="el" href="StrongTypedef_8h_source.html">StrongTypedef.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8eaabc0c752cf6586400de5bf615e78a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GG_STRONG_SIZE_TYPEDEF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new type <em>name</em>, based on underlying type std::size_t, which is not interconvertible with any other numeric type. The resulting type has most of the operations of std::size_t. Specifically, the type is totally ordered, incrementable, decrementable, and arithmetic. The type is also interarithemtic with and comparable to objects of type std::size_t. </p>

<p>Definition at line <a class="el" href="StrongTypedef_8h_source.html#l00374">374</a> of file <a class="el" href="StrongTypedef_8h_source.html">StrongTypedef.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 15 2012 15:13:31 for GG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>