diff options
Diffstat (limited to 'docs/doxygen/nel/classNLAIC_1_1CRegistry.html')
-rw-r--r-- | docs/doxygen/nel/classNLAIC_1_1CRegistry.html | 824 |
1 files changed, 824 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLAIC_1_1CRegistry.html b/docs/doxygen/nel/classNLAIC_1_1CRegistry.html new file mode 100644 index 00000000..0f7489be --- /dev/null +++ b/docs/doxygen/nel/classNLAIC_1_1CRegistry.html @@ -0,0 +1,824 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLAIC::CRegistry Class Reference</h1><a class="el" href="classNLAIC_1_1CRegistry.html">CRegistry</a> is a class factory registry. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="registry_8h-source.html">registry.h</a>></code> +<p> +<a href="classNLAIC_1_1CRegistry-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a0">CRegistry</a> ()</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a1">registerClass</a> (const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> &, const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> &)</td></tr> +<tr><td> </td><td><font size=-1><em>Registers a new class.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a2">unRegisterClass</a> (const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> &)</td></tr> +<tr><td> </td><td><font size=-1><em>Removes a class from the registry.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a3">getNumIdent</a> (const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> &)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the registry index of a class from its identifier.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a4">getNumIdent</a> (const char *)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the registry index of a class from its name.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> & </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a5">getIdent</a> (const <a class="el" href="memory__common_8h.html#a10">sint32</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the identifier of a class from its registry index.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> & </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a6">getIdent</a> (const char *)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the identifier of a class from its name.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLAIC_1_1IBasicInterface.html">IBasicInterface</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a7">createInstance</a> (const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> &)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its identifier.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLAIC_1_1IBasicInterface.html">IBasicInterface</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a8">createInstance</a> (const char *)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its class name in the registry.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLAIC_1_1IBasicInterface.html">IBasicInterface</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a9">createInstance</a> (const <a class="el" href="memory__common_8h.html#a10">sint32</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its registry index.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a10">getFactory</a> (const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> &)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its identifier.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a11">getFactory</a> (const char *)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its class name in the registry.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> * </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a12">getFactory</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a new instance from a class using its registry index.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> & </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a13">operator[]</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> i) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> with an index.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const bool </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a14">existsClass</a> (const char *) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a15">size</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get registry size.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#a16">~CRegistry</a> ()</td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef std::map< <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a>,<br> +<a class="el" href="structNLAIC_1_1CRegistry_1_1CRegistryClass.html">CRegistryClass</a> *, std::less<<br> + <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> > > </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#u0">tMapRegistry</a></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNLAIC_1_1CRegistry_1_1CRegistryClass.html">CRegistryClass</a> * > </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#o0">_TableRegistry</a></td></tr> +<tr><td> </td><td><font size=-1><em>Table for class factory index.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLAIC_1_1CRegistry.html#u0">tMapRegistry</a> & </td><td valign=bottom><a class="el" href="classNLAIC_1_1CRegistry.html#o1">_MapRegistry</a></td></tr> +<tr><td> </td><td><font size=-1><em>Map Hows stored class factory instance.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNLAIC_1_1CRegistry.html">CRegistry</a> is a class factory registry. +<p> +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="classNLAIC_1_1CIdentType.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><dd> +Chafik sameh , Portier Pierre , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="registry_8h-source.html#l00049">49</a> of file <a class="el" href="registry_8h-source.html">registry.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="u0" doxytag="NLAIC::CRegistry::tMapRegistry"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> ,<a class="el" href="structNLAIC_1_1CRegistry_1_1CRegistryClass.html">CRegistryClass</a> *,std::less<<a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a>> > NLAIC::CRegistry::tMapRegistry<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="registry_8h-source.html#l00063">63</a> of file <a class="el" href="registry_8h-source.html">registry.h</a>. +<p> +Referenced by <a class="el" href="registry_8cpp-source.html#l00041">CRegistry</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLAIC::CRegistry::CRegistry"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <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="registry_8cpp-source.html#l00041">41</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00068">_MapRegistry</a>, and <a class="el" href="registry_8h-source.html#l00063">tMapRegistry</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NLAIC::CRegistry::~CRegistry"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <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="registry_8cpp-source.html#l00045">45</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00068">_MapRegistry</a>, and <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a9" doxytag="NLAIC::CRegistry::createInstance"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLAIC_1_1IBasicInterface.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="registry_8cpp-source.html#l00161">161</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLAIC::CRegistry::createInstance"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLAIC_1_1IBasicInterface.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="registry_8cpp-source.html#l00154">154</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="registry_8cpp-source.html#l00096">getNumIdent</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLAIC::CRegistry::createInstance"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLAIC_1_1IBasicInterface.html">IBasicInterface</a> * NLAIC::CRegistry::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00148">148</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8cpp-source.html#l00096">getNumIdent</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NLAIC::CRegistry::existsClass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <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="registry_8cpp-source.html#l00215">215</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. +<p> +Referenced by <a class="el" href="compilateur_8cpp-source.html#l00059">NLAISCRIPT::CCompilateur::getTypeOfClass</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLAIC::CRegistry::getFactory"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> * NLAIC::CRegistry::getFactory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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="registry_8cpp-source.html#l00199">199</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NLAIC::CRegistry::getFactory"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1IClassFactory.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="registry_8cpp-source.html#l00184">184</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLAIC::CRegistry::getFactory"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1IClassFactory.html">IClassFactory</a> * NLAIC::CRegistry::getFactory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00168">168</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00068">_MapRegistry</a>, <a class="el" href="ident__type_8cpp-source.html#l00079">NLAIC::stringGetBuild</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLAIC::CRegistry::getIdent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00134">134</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="ident__type_8cpp-source.html#l00079">NLAIC::stringGetBuild</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLAIC::CRegistry::getIdent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00128">128</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. +<p> +Referenced by <a class="el" href="ident__type_8cpp-source.html#l00198">NLAIC::CIdentType::serial</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLAIC::CRegistry::getNumIdent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="memory__common_8h.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="registry_8cpp-source.html#l00112">112</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="ident__type_8cpp-source.html#l00079">NLAIC::stringGetBuild</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLAIC::CRegistry::getNumIdent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="memory__common_8h.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="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00096">96</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00068">_MapRegistry</a>, <a class="el" href="ident__type_8cpp-source.html#l00079">NLAIC::stringGetBuild</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. +<p> +Referenced by <a class="el" href="registry_8cpp-source.html#l00148">createInstance</a>, <a class="el" href="ident__type_8cpp-source.html#l00198">NLAIC::CIdentType::serial</a>, and <a class="el" href="registry_8cpp-source.html#l00079">unRegisterClass</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NLAIC::CRegistry::operator[]"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNLAIC_1_1CIdentType.html">CIdentType</a> & NLAIC::CRegistry::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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="classNLAIC_1_1CIdentType.html">CIdentType</a> with an index. +<p> + +<p> +Definition at line <a class="el" href="registry_8cpp-source.html#l00205">205</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLAIC::CRegistry::registerClass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.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="classNLAIC_1_1CIdentType.html">CIdentType</a> & </td> + <td class="mdname" nowrap> , </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLAIC_1_1IClassFactory.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="registry_8cpp-source.html#l00057">57</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00068">_MapRegistry</a>, <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NLAIC::CRegistry::size"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.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="registry_8cpp-source.html#l00210">210</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLAIC::CRegistry::unRegisterClass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <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="classNLAIC_1_1CIdentType.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="registry_8cpp-source.html#l00079">79</a> of file <a class="el" href="registry_8cpp-source.html">registry.cpp</a>. +<p> +References <a class="el" href="registry_8h-source.html#l00066">_TableRegistry</a>, and <a class="el" href="registry_8cpp-source.html#l00096">getNumIdent</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o1" doxytag="NLAIC::CRegistry::_MapRegistry"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLAIC_1_1CRegistry.html#u0">tMapRegistry</a>& NLAIC::CRegistry::_MapRegistry<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="registry_8h-source.html#l00068">68</a> of file <a class="el" href="registry_8h-source.html">registry.h</a>. +<p> +Referenced by <a class="el" href="registry_8cpp-source.html#l00041">CRegistry</a>, <a class="el" href="registry_8cpp-source.html#l00168">getFactory</a>, <a class="el" href="registry_8cpp-source.html#l00096">getNumIdent</a>, <a class="el" href="registry_8cpp-source.html#l00057">registerClass</a>, and <a class="el" href="registry_8cpp-source.html#l00045">~CRegistry</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLAIC::CRegistry::_TableRegistry"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="structNLAIC_1_1CRegistry_1_1CRegistryClass.html">CRegistryClass</a> *> NLAIC::CRegistry::_TableRegistry<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="registry_8h-source.html#l00066">66</a> of file <a class="el" href="registry_8h-source.html">registry.h</a>. +<p> +Referenced by <a class="el" href="registry_8cpp-source.html#l00154">createInstance</a>, <a class="el" href="registry_8cpp-source.html#l00215">existsClass</a>, <a class="el" href="registry_8cpp-source.html#l00199">getFactory</a>, <a class="el" href="registry_8cpp-source.html#l00128">getIdent</a>, <a class="el" href="registry_8cpp-source.html#l00112">getNumIdent</a>, <a class="el" href="registry_8cpp-source.html#l00205">operator[]</a>, <a class="el" href="registry_8cpp-source.html#l00057">registerClass</a>, <a class="el" href="registry_8cpp-source.html#l00210">size</a>, <a class="el" href="registry_8cpp-source.html#l00079">unRegisterClass</a>, and <a class="el" href="registry_8cpp-source.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="registry_8h-source.html">registry.h</a><li><a class="el" href="registry_8cpp-source.html">registry.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |