# 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  

class_registry.h File Reference

This File handles CClassRegistry. More...

#include "nel/misc/types_nl.h"
#include "nel/misc/common.h"
#include <typeinfo>
#include <string>
#include <set>

Go to the source code of this file.

Namespaces

namespace  NLMISC

Defines

#define NLMISC_DECLARE_CLASS(_class_)
 Usefull Macros. More...

#define NLMISC_REGISTER_CLASS(_class_)   NLMISC::CClassRegistry::registerClass(#_class_, _class_::creator, typeid(_class_).name());


Detailed Description

This File handles CClassRegistry.

Id:
class_registry.h,v 1.11 2002/04/12 16:36:17 vizerie Exp

Definition in file class_registry.h.


Define Documentation

#define NLMISC_DECLARE_CLASS _class_   
 

Value:

virtual std::string     getClassName() {return #_class_;}               \
        static  NLMISC::IClassable      *creator() {return new _class_;}
Usefull Macros.

Definition at line 120 of file class_registry.h.

#define NLMISC_REGISTER_CLASS _class_       NLMISC::CClassRegistry::registerClass(#_class_, _class_::creator, typeid(_class_).name());
 

Definition at line 123 of file class_registry.h.

Referenced by NLSOUND::CBoundingSphere::init, NLSOUND::CBoundingBox::init, NL3D::CPSUtil::registerEmitters, NL3D::CPSUtil::registerForces, NL3D::CPSUtil::registerParticles, NL3D::CPSUtil::registerSerialParticleSystem, and NL3D::CPSUtil::registerZones.