Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

vcf/FoundationKit/ClassRegistry.h File Reference


Namespaces

namespace  VCF

Classes

class  VCF::ClassRegistry
 ClassRegistry contains all Class's in the Framework Runtime. More...

Defines

#define classid(classType)
 This macro is used in a way similar to the C++ typeid operator.

Define Documentation

#define classid classType   ) 
 

Value:

This macro is used in a way similar to the C++ typeid operator.

Where typeid() returns a const type_info reference, the classid() "operator" returns a Class pointer or NULL if no class can be found in the ClassRegistry. For example:

Class* clazz = classid(Window);
The clazz variable will now point to a Class instance associated with the Window class.

   Comments or Suggestions?    License Information