diff options
Diffstat (limited to 'docs/doxygen/nel/a03322.html')
-rw-r--r-- | docs/doxygen/nel/a03322.html | 962 |
1 files changed, 962 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03322.html b/docs/doxygen/nel/a03322.html new file mode 100644 index 00000000..5278d9c4 --- /dev/null +++ b/docs/doxygen/nel/a03322.html @@ -0,0 +1,962 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLAIC::CRegistry class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLAIC::CRegistry Class Reference</h1><code>#include <<a class="el" href="a06324.html">registry.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03322.html">CRegistry</a> is a class factory registry. This class share an std::map objects how it containe reference for ordering class. Class factory is order in the map by name, the name is define by a <a class="el" href="a02650.html">CIdentType</a> and by index. Index is an index in a vector type. That make easy to manage object reference. Not that name is the word reference of an object and index is the locale reference.<p> +<dl compact><dt><b>Author:</b></dt><dd>Chafik sameh <p> +Portier Pierre <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000</dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06324.html#l00049">49</a> of file <a class="el" href="a06324.html">registry.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02154.html">IBasicInterface</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya0">createInstance</a> (const <a class="el" href="a04558.html#a10">sint32</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its registry index. <a href="#NLAIC_1_1CRegistrya0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02154.html">IBasicInterface</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya1">createInstance</a> (const char *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its class name in the registry. <a href="#NLAIC_1_1CRegistrya1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02154.html">IBasicInterface</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya2">createInstance</a> (const <a class="el" href="a02650.html">CIdentType</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its identifier. <a href="#NLAIC_1_1CRegistrya2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya3">CRegistry</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya4">existsClass</a> (const char *) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02347.html">IClassFactory</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya5">getFactory</a> (<a class="el" href="a04558.html#a10">sint32</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its registry index. <a href="#NLAIC_1_1CRegistrya5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02347.html">IClassFactory</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya6">getFactory</a> (const char *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its class name in the registry. <a href="#NLAIC_1_1CRegistrya6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02347.html">IClassFactory</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya7">getFactory</a> (const <a class="el" href="a02650.html">CIdentType</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance from a class using its identifier. <a href="#NLAIC_1_1CRegistrya7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya8">getIdent</a> (const char *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the identifier of a class from its name. <a href="#NLAIC_1_1CRegistrya8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya9">getIdent</a> (const <a class="el" href="a04558.html#a10">sint32</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the identifier of a class from its registry index. <a href="#NLAIC_1_1CRegistrya9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya10">getNumIdent</a> (const char *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the registry index of a class from its name. <a href="#NLAIC_1_1CRegistrya10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya11">getNumIdent</a> (const <a class="el" href="a02650.html">CIdentType</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the registry index of a class from its identifier. <a href="#NLAIC_1_1CRegistrya11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya12">operator[]</a> (<a class="el" href="a04558.html#a10">sint32</a> i) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get <a class="el" href="a02650.html">CIdentType</a> with an index. <a href="#NLAIC_1_1CRegistrya12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya13">registerClass</a> (const <a class="el" href="a02650.html">CIdentType</a> &, const <a class="el" href="a02347.html">IClassFactory</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers a new class. <a href="#NLAIC_1_1CRegistrya13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya14">size</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get registry size. <a href="#NLAIC_1_1CRegistrya14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya15">unRegisterClass</a> (const <a class="el" href="a02650.html">CIdentType</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a class from the registry. <a href="#NLAIC_1_1CRegistrya15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistrya16">~CRegistry</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< <a class="el" href="a02650.html">CIdentType</a>,<br> +<a class="el" href="a03323.html">CRegistryClass</a> *, std::less<<br> + <a class="el" href="a02650.html">CIdentType</a> > > </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistryy0">TMapRegistry</a></td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03322.html#NLAIC_1_1CRegistryy0">TMapRegistry</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Map Hows stored class factory instance. <a href="#NLAIC_1_1CRegistryr0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03323.html">CRegistryClass</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Table for class factory index. <a href="#NLAIC_1_1CRegistryr1"></a><br><br></td></tr> +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLAIC_1_1CRegistryy0" doxytag="NLAIC::CRegistry::TMapRegistry" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="a02650.html">CIdentType</a> ,<a class="el" href="a03323.html">CRegistryClass</a> *,std::less<<a class="el" href="a02650.html">CIdentType</a>> > <a class="el" href="a03322.html#NLAIC_1_1CRegistryy0">NLAIC::CRegistry::TMapRegistry</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06324.html#l00063">63</a> of file <a class="el" href="a06324.html">registry.h</a>. +<p> +Referenced by <a class="el" href="a06323.html#l00041">CRegistry()</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAIC_1_1CRegistrya3" doxytag="NLAIC::CRegistry::CRegistry" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIC::CRegistry::CRegistry </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00041">41</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00068">_MapRegistry</a>, <a class="el" href="a06143.html#l00092">new</a>, and <a class="el" href="a06324.html#l00063">TMapRegistry</a>. +<p> +<div class="fragment"><pre>00041 : <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>(*(<span class="keyword">new</span> TMapRegistry)) +00042 { +00043 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya16" doxytag="NLAIC::CRegistry::~CRegistry" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIC::CRegistry::~<a class="el" href="a03322.html">CRegistry</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00045">45</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00068">_MapRegistry</a>, <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00046 { +00047 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size(); i++) +00048 { +00049 <span class="keywordflow">if</span> ( <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i] ) +00050 { +00051 <span class="keyword">delete</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i]; +00052 } +00053 } +00054 <span class="keyword">delete</span> &<a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>; +00055 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAIC_1_1CRegistrya0" doxytag="NLAIC::CRegistry::createInstance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02154.html">IBasicInterface</a> * NLAIC::CRegistry::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const </td> + <td class="mdname1" valign="top" nowrap> <em>sint32</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its registry index. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00161">161</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00162 { +00163 IBasicInterface *instance = (IBasicInterface *)<a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i]->FactoryClass->createInstance(); +00164 <span class="keywordflow">return</span> instance; +00165 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya1" doxytag="NLAIC::CRegistry::createInstance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02154.html">IBasicInterface</a> * NLAIC::CRegistry::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its class name in the registry. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00154">154</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a06323.html#l00096">getNumIdent()</a>. +<p> +<div class="fragment"><pre>00155 { +00156 IBasicInterface *instance = (IBasicInterface *)<a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[ <a class="code" href="a03322.html#NLAIC_1_1CRegistrya11">getNumIdent</a>(class_name) ]->FactoryClass->createInstance(); +00157 <span class="keywordflow">return</span> instance; +00158 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya2" doxytag="NLAIC::CRegistry::createInstance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02154.html">IBasicInterface</a> * NLAIC::CRegistry::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">CIdentType</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its identifier. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00148">148</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06323.html#l00096">getNumIdent()</a>. +<p> +Referenced by <a class="el" href="a05804.html#l00173">NLAIC::CIdentType::allocClass()</a>, and <a class="el" href="a06325.html#l00049">NLAIC::createInstance()</a>. +<p> +<div class="fragment"><pre>00149 { +00150 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistrya2">createInstance</a>(<a class="code" href="a03322.html#NLAIC_1_1CRegistrya11">getNumIdent</a>(ident)); +00151 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya4" doxytag="NLAIC::CRegistry::existsClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const bool NLAIC::CRegistry::existsClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00215">215</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>. +<p> +Referenced by <a class="el" href="a05589.html#l00059">NLAISCRIPT::CCompilateur::getTypeOfClass()</a>. +<p> +<div class="fragment"><pre>00216 { +00217 std::vector<CRegistryClass *>::const_iterator it_rc = <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.begin(); +00218 <span class="keywordflow">while</span> ( it_rc != <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.end() ) +00219 { +00220 <span class="keyword">const</span> <span class="keywordtype">char</span> *rc_name = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) (*it_rc)->NameClass; +00221 <span class="keywordflow">if</span> ( strcmp( class_name, rc_name ) == 0) +00222 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00223 it_rc++; +00224 } +00225 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00226 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya5" doxytag="NLAIC::CRegistry::getFactory" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02347.html">IClassFactory</a> * NLAIC::CRegistry::getFactory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its registry index. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00199">199</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00200 { +00201 <span class="keywordflow">return</span> (*(<a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.begin() + i))->FactoryClass;<span class="comment">//_TableRegistry[i]->FactoryClass;</span> +00202 <span class="comment">//return _TableRegistry[i]->FactoryClass;</span> +00203 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya6" doxytag="NLAIC::CRegistry::getFactory" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02347.html">IClassFactory</a> * NLAIC::CRegistry::getFactory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its class name in the registry. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00184">184</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00221">id</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <span class="keywordflow">try</span> +00187 { +00188 CIdentType <a class="code" href="a04223.html#a564">id</a>(class_name); +00189 <span class="keywordflow">return</span> <span class="keywordtype">id</span>.getFactory(); +00190 } +00191 <span class="keywordflow">catch</span> (<a class="code" href="a03853.html">NLAIE::IException</a> &err) +00192 { +00193 <span class="keywordflow">throw</span> <a class="code" href="a02483.html">NLAIE::CExceptionContainer</a>(err.what()); +00194 } +00195 <span class="keywordflow">return</span> NULL; +00196 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya7" doxytag="NLAIC::CRegistry::getFactory" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02347.html">IClassFactory</a> * NLAIC::CRegistry::getFactory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">CIdentType</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a new instance from a class using its identifier. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00168">168</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00068">_MapRegistry</a>, <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05804.html#l00178">NLAIC::CIdentType::getFactory()</a>. +<p> +<div class="fragment"><pre>00169 { +00170 CRegistryClass *<a class="code" href="a04223.html#a627">t</a>; +00171 TMapRegistry::iterator Itr = <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>.find(ident); +00172 <span class="keywordflow">if</span>(Itr != <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>.end()) <a class="code" href="a04223.html#a627">t</a> = (*Itr).second; +00173 <span class="keywordflow">else</span> +00174 { +00175 std::string text; +00176 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"can't find '%s' in the registry"</span>,(<span class="keywordtype">char</span> *)((<span class="keyword">const</span> <span class="keywordtype">char</span> *)ident)); +00177 <a class="code" href="a02490.html">NLAIE::CExceptionUnRegisterClassError</a> e(text.c_str()); +00178 <span class="keywordflow">throw</span> e; +00179 } +00180 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a627">t</a>->FactoryClass; +00181 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya8" doxytag="NLAIC::CRegistry::getIdent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02650.html">CIdentType</a> & NLAIC::CRegistry::getIdent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the identifier of a class from its name. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00134">134</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +<div class="fragment"><pre>00135 { +00136 <span class="keywordflow">for</span> ( <a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size(); i++ ) +00137 { +00138 <span class="keywordflow">if</span> ( !strcmp( (<span class="keyword">const</span> <span class="keywordtype">char</span> *)_TableRegistry[i]->NameClass, class_name ) ) +00139 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[ i ]->NameClass; +00140 } +00141 std::string text; +00142 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"can't find '%s' in the registry"</span>,(<span class="keywordtype">char</span> *)class_name); +00143 <a class="code" href="a02490.html">NLAIE::CExceptionUnRegisterClassError</a> e(text.c_str()); +00144 <span class="keywordflow">throw</span> e; +00145 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya9" doxytag="NLAIC::CRegistry::getIdent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02650.html">CIdentType</a> & NLAIC::CRegistry::getIdent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const </td> + <td class="mdname1" valign="top" nowrap> <em>sint32</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the identifier of a class from its registry index. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00128">128</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05804.html#l00198">NLAIC::CIdentType::serial()</a>. +<p> +<div class="fragment"><pre>00129 { +00130 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[<a class="code" href="a04223.html#a566">index</a>]->NameClass; +00131 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya10" doxytag="NLAIC::CRegistry::getNumIdent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a10">sint32</a> NLAIC::CRegistry::getNumIdent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the registry index of a class from its name. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00112">112</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +<div class="fragment"><pre>00113 { +00114 <span class="keywordflow">for</span> ( <a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size(); i++ ) +00115 { +00116 <span class="keywordflow">if</span> ( !strcmp( (<span class="keyword">const</span> <span class="keywordtype">char</span> *)_TableRegistry[i]->NameClass, class_name ) ) +00117 <span class="keywordflow">return</span> i; +00118 } +00119 +00120 std::string text; +00121 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"can't find '%s' in the registry"</span>,(<span class="keywordtype">char</span> *)class_name); +00122 <a class="code" href="a02490.html">NLAIE::CExceptionUnRegisterClassError</a> e(text.c_str()); +00123 <span class="keywordflow">throw</span> e; +00124 <span class="keywordflow">return</span> -1; +00125 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya11" doxytag="NLAIC::CRegistry::getNumIdent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a10">sint32</a> NLAIC::CRegistry::getNumIdent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">CIdentType</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the registry index of a class from its identifier. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00096">96</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00068">_MapRegistry</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a06323.html#l00148">createInstance()</a>, <a class="el" href="a05804.html#l00198">NLAIC::CIdentType::serial()</a>, and <a class="el" href="a06323.html#l00079">unRegisterClass()</a>. +<p> +<div class="fragment"><pre>00097 { +00098 CRegistryClass *<a class="code" href="a04223.html#a627">t</a>; +00099 TMapRegistry::iterator Itr = <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>.find(ident); +00100 <span class="keywordflow">if</span>(Itr != <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>.end()) <a class="code" href="a04223.html#a627">t</a> = (*Itr).second; +00101 <span class="keywordflow">else</span> +00102 { +00103 std::string text; +00104 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"can't find '%s' in the registry"</span>,(<span class="keywordtype">char</span> *)((<span class="keyword">const</span> <span class="keywordtype">char</span> *)ident)); +00105 <a class="code" href="a02490.html">NLAIE::CExceptionUnRegisterClassError</a> e(text.c_str()); +00106 <span class="keywordflow">throw</span> e; +00107 } +00108 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a627">t</a>->Index; +00109 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya12" doxytag="NLAIC::CRegistry::operator[]" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02650.html">CIdentType</a> & NLAIC::CRegistry::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get <a class="el" href="a02650.html">CIdentType</a> with an index. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00205">205</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00206 { +00207 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i]->NameClass; +00208 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya13" doxytag="NLAIC::CRegistry::registerClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> NLAIC::CRegistry::registerClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">CIdentType</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02347.html">IClassFactory</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Registers a new class. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00057">57</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00068">_MapRegistry</a>, <a class="el" href="a06324.html#l00066">_TableRegistry</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a06325.html#l00044">NLAIC::registerClass()</a>. +<p> +<div class="fragment"><pre>00058 { +00059 <span class="comment">// Recherche un emplacement vide</span> +00060 <span class="comment">/*for(sint32 idx = 0; idx < (sint32) _TableRegistry.size(); idx++) </span> +00061 <span class="comment"> {</span> +00062 <span class="comment"> if ( _TableRegistry[ idx ] == NULL )</span> +00063 <span class="comment"> {</span> +00064 <span class="comment"> CRegistryClass *t = new CRegistryClass( ident, FactoryClass, idx );</span> +00065 <span class="comment"> _TableRegistry[ idx ] = t;</span> +00066 <span class="comment"> _MapRegistry.insert( TMapRegistry::value_type(t->NameClass, t) );</span> +00067 <span class="comment"> return idx;</span> +00068 <span class="comment"> }</span> +00069 <span class="comment"> }*/</span> +00070 +00071 <span class="comment">// Sinon met à la fin de la table</span> +00072 CRegistryClass *<a class="code" href="a04223.html#a627">t</a> = <span class="keyword">new</span> CRegistryClass(ident, FactoryClass, <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size() ); +00073 <a class="code" href="a03322.html#NLAIC_1_1CRegistryr0">_MapRegistry</a>.insert( TMapRegistry::value_type(ident, t) ); +00074 <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.push_back( t ); +00075 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size() - 1; +00076 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya14" doxytag="NLAIC::CRegistry::size" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> NLAIC::CRegistry::size </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get registry size. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00210">210</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00211 { +00212 <span class="keywordflow">return</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>.size(); +00213 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistrya15" doxytag="NLAIC::CRegistry::unRegisterClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIC::CRegistry::unRegisterClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">CIdentType</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Removes a class from the registry. +<p> + +<p> +Definition at line <a class="el" href="a06323.html#l00079">79</a> of file <a class="el" href="a06323.html">registry.cpp</a>. +<p> +References <a class="el" href="a06324.html#l00066">_TableRegistry</a>, <a class="el" href="a06323.html#l00096">getNumIdent()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00080 { +00081 <a class="code" href="a04558.html#a10">sint32</a> i; +00082 <span class="keywordflow">try</span> +00083 { +00084 i = <a class="code" href="a03322.html#NLAIC_1_1CRegistrya11">getNumIdent</a>(ident); +00085 } +00086 <span class="keywordflow">catch</span>(<a class="code" href="a03853.html">NLAIE::IException</a> &e) +00087 { +00088 <span class="keywordflow">throw</span> <a class="code" href="a02488.html">NLAIE::CExceptionObjectNotFoundError</a>(e.what()); +00089 } +00090 <span class="keyword">delete</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i]->FactoryClass; +00091 <span class="keyword">delete</span> <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i]; +00092 <a class="code" href="a03322.html#NLAIC_1_1CRegistryr1">_TableRegistry</a>[i] = NULL; +00093 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAIC_1_1CRegistryr0" doxytag="NLAIC::CRegistry::_MapRegistry" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03322.html#NLAIC_1_1CRegistryy0">TMapRegistry</a>& <a class="el" href="a03322.html#NLAIC_1_1CRegistryr0">NLAIC::CRegistry::_MapRegistry</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map Hows stored class factory instance. +<p> + +<p> +Definition at line <a class="el" href="a06324.html#l00068">68</a> of file <a class="el" href="a06324.html">registry.h</a>. +<p> +Referenced by <a class="el" href="a06323.html#l00041">CRegistry()</a>, <a class="el" href="a06323.html#l00168">getFactory()</a>, <a class="el" href="a06323.html#l00096">getNumIdent()</a>, <a class="el" href="a06323.html#l00057">registerClass()</a>, and <a class="el" href="a06323.html#l00045">~CRegistry()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIC_1_1CRegistryr1" doxytag="NLAIC::CRegistry::_TableRegistry" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a03323.html">CRegistryClass</a> *> <a class="el" href="a03322.html#NLAIC_1_1CRegistryr1">NLAIC::CRegistry::_TableRegistry</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Table for class factory index. +<p> + +<p> +Definition at line <a class="el" href="a06324.html#l00066">66</a> of file <a class="el" href="a06324.html">registry.h</a>. +<p> +Referenced by <a class="el" href="a06323.html#l00154">createInstance()</a>, <a class="el" href="a06323.html#l00215">existsClass()</a>, <a class="el" href="a06323.html#l00199">getFactory()</a>, <a class="el" href="a06323.html#l00128">getIdent()</a>, <a class="el" href="a06323.html#l00112">getNumIdent()</a>, <a class="el" href="a06323.html#l00205">operator[]()</a>, <a class="el" href="a06323.html#l00057">registerClass()</a>, <a class="el" href="a06323.html#l00210">size()</a>, <a class="el" href="a06323.html#l00079">unRegisterClass()</a>, and <a class="el" href="a06323.html#l00045">~CRegistry()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06324.html">registry.h</a><li><a class="el" href="a06323.html">registry.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 10:22:14 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |