From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLMISC__CClassRegistry.html | 249 +++++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 docs/doxygen/nel/class_NLMISC__CClassRegistry.html (limited to 'docs/doxygen/nel/class_NLMISC__CClassRegistry.html') diff --git a/docs/doxygen/nel/class_NLMISC__CClassRegistry.html b/docs/doxygen/nel/class_NLMISC__CClassRegistry.html new file mode 100644 index 00000000..158f12f0 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CClassRegistry.html @@ -0,0 +1,249 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CClassRegistry Class Reference

The Class registry where we can instanciate IClassable objects from their names. +More... +

+#include <class_registry.h> +

+Collaboration diagram for NLMISC::CClassRegistry:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + + + + + + +

Static Public Methods

void registerClass (const std::string &className, IClassable* (*creator)(), const std::string &typeidCheck) throw (ERegistry)
 Register your class for future Instanciation. More...

IClassablecreate (const std::string &className) throw (ERegistry)
 Create an object from his class name. More...

bool checkObject (IClassable* obj)
 check if the object has been correctly registered. Must be used for debug only, and Must compile with RTTI. More...


Static Private Attributes

std::set<CClassNodeRegistredClasses
+

Detailed Description

+The Class registry where we can instanciate IClassable objects from their names. +

+

+Author(s):
+ Lionel Berenguier , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 86 of file class_registry.h.


Member Function Documentation

+

+ + + + +
+ + + + + + +
+bool NLMISC::CClassRegistry::checkObject ( + +IClassable * obj ) [static] +
+
+ + + + + +
+   + + +

+check if the object has been correctly registered. Must be used for debug only, and Must compile with RTTI. +

+ +

+Definition at line 75 of file class_registry.cpp.

+

+ + + + +
+ + + + + + +
+IClassable * NLMISC::CClassRegistry::create ( + +const std::string & className ) throw (ERegistry) [static] +
+
+ + + + + +
+   + + +

+Create an object from his class name. +

+ +

+Definition at line 41 of file class_registry.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + +
+void NLMISC::CClassRegistry::registerClass ( + +const std::string & className, +
+IClassable *(* creator)(), +
+const std::string & typeidCheck ) throw (ERegistry) [static] +
+
+ + + + + +
+   + + +

+Register your class for future Instanciation. +

+ +

+Definition at line 61 of file class_registry.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+set< CClassRegistry::CClassNode > NLMISC::CClassRegistry::RegistredClasses [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 37 of file class_registry.cpp.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1