|
Cute Chess
0.1
|
A class for registering a new subclass of the templated class. More...
#include <classregistry.h>
Public Member Functions | |
| ClassRegistration (ClassRegistry< T > *registry, typename ClassRegistry< T >::Factory factory, const QString &key) | |
A class for registering a new subclass of the templated class.
|
inline |
Creates a new registration object and adds (registers) a new class to a class registry.
| registry | A registry where the class is added. |
| factory | A factory function for creating instances of the class. |
| key | A key (class name) associated with the class. |
1.8.11