class_registry.h File Reference


Detailed Description

This File handles CClassRegistry.

Id
class_registry.h,v 1.12 2004/02/19 09:58:32 vizerie Exp

Definition in file class_registry.h.

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

Go to the source code of this file.

Namespaces

namespace  NLMISC

Defines

#define NLMISC_DECLARE_CLASS(_class_)
 Usefull Macros.

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


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 117 of file class_registry.h.

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

Definition at line 120 of file class_registry.h.

Referenced by NL3D::PSRegisterColorAttribs(), NL3D::PSRegisterFloatAttribs(), NL3D::PSRegisterIntAttribs(), NL3D::PSRegisterPlaneBasisAttribs(), NLLIGO::Register(), NL3D::CPSUtil::registerEmitters(), NL3D::CPSUtil::registerForces(), NL3D::CPSUtil::registerParticles(), NL3D::registerSerial3d(), NL3D::CPSUtil::registerSerialParticleSystem(), and NL3D::CPSUtil::registerZones().


Generated on Tue Mar 16 06:42:19 2004 for NeL by doxygen 1.3.6