Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b293cf61b174f6cb974e48c9096dc9b3 > files > 376

lib64commoncpp-devel-1.8.1-7.mga4.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"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>GNU CommonC++: ost::TypeManager Class 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">GNU CommonC++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceost.html">ost</a></li><li class="navelem"><a class="el" href="classost_1_1_type_manager.html">TypeManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classost_1_1_type_manager-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ost::TypeManager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This class manages the types for generation of the persistent objects.  
 <a href="classost_1_1_type_manager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="persist_8h_source.html">persist.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_type_manager_1_1_registration.html">Registration</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This manages a registration to the typemanager - attempting to remove problems with the optimisers.  <a href="classost_1_1_type_manager_1_1_registration.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a898c5cca59cb8c845d8c836aeed0fae0"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; <a class="el" href="classost_1_1_string.html">String</a>, <br class="typebreak"/>
<a class="el" href="namespaceost.html#abaf4b8bd869b80b3711d0d84f5b91ac5">NewBaseObjectFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_type_manager.html#a898c5cca59cb8c845d8c836aeed0fae0">StringFunctionMap</a></td></tr>
<tr class="separator:a898c5cca59cb8c845d8c836aeed0fae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ada6b3c436c67f4e2f9a2a44bfcc34583"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_type_manager.html#ada6b3c436c67f4e2f9a2a44bfcc34583">add</a> (const char *name, <a class="el" href="namespaceost.html#abaf4b8bd869b80b3711d0d84f5b91ac5">NewBaseObjectFunction</a> construction)</td></tr>
<tr class="memdesc:ada6b3c436c67f4e2f9a2a44bfcc34583"><td class="mdescLeft">&#160;</td><td class="mdescRight">This adds a new construction function to the type manager.  <a href="#ada6b3c436c67f4e2f9a2a44bfcc34583">More...</a><br/></td></tr>
<tr class="separator:ada6b3c436c67f4e2f9a2a44bfcc34583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65faf1182b3b27f7d70c94e2ba26e71c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_type_manager.html#a65faf1182b3b27f7d70c94e2ba26e71c">remove</a> (const char *name)</td></tr>
<tr class="memdesc:a65faf1182b3b27f7d70c94e2ba26e71c"><td class="mdescLeft">&#160;</td><td class="mdescRight">And this one removes a type from the managers lists.  <a href="#a65faf1182b3b27f7d70c94e2ba26e71c">More...</a><br/></td></tr>
<tr class="separator:a65faf1182b3b27f7d70c94e2ba26e71c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec12ff7c1d3949b563e25005a578c046"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classost_1_1_base_object.html">BaseObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_type_manager.html#aec12ff7c1d3949b563e25005a578c046">createInstanceOf</a> (const char *name)</td></tr>
<tr class="memdesc:aec12ff7c1d3949b563e25005a578c046"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function creates a new object of the required type and returns a pointer to it.  <a href="#aec12ff7c1d3949b563e25005a578c046">More...</a><br/></td></tr>
<tr class="separator:aec12ff7c1d3949b563e25005a578c046"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class manages the types for generation of the persistent objects. </p>
<p>Its data structures are managed automatically by the system. They are implicitly filled by the constructors who declare classes to the system.</p>
<dl class="section author"><dt>Author</dt><dd>Daniel Silverstone Type manager for persistence engine. </dd></dl>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a898c5cca59cb8c845d8c836aeed0fae0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;<a class="el" href="classost_1_1_string.html">String</a>,<a class="el" href="namespaceost.html#abaf4b8bd869b80b3711d0d84f5b91ac5">NewBaseObjectFunction</a>&gt; <a class="el" href="classost_1_1_type_manager.html#a898c5cca59cb8c845d8c836aeed0fae0">ost::TypeManager::StringFunctionMap</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ada6b3c436c67f4e2f9a2a44bfcc34583"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ost::TypeManager::add </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceost.html#abaf4b8bd869b80b3711d0d84f5b91ac5">NewBaseObjectFunction</a>&#160;</td>
          <td class="paramname"><em>construction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This adds a new construction function to the type manager. </p>

</div>
</div>
<a class="anchor" id="aec12ff7c1d3949b563e25005a578c046"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classost_1_1_base_object.html">BaseObject</a>* ost::TypeManager::createInstanceOf </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function creates a new object of the required type and returns a pointer to it. </p>
<p>NULL is returned if we couldn't find the type </p>

</div>
</div>
<a class="anchor" id="a65faf1182b3b27f7d70c94e2ba26e71c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ost::TypeManager::remove </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>And this one removes a type from the managers lists. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="persist_8h_source.html">persist.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 17 2013 23:24:57 for GNU CommonC++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>