C4 Engine
C4 Engine API Documentation

class Registrable

Defined in:  C4Creation.h
The Registrable class template is the base class for class types that can have custom subclasses that are registered with the engine.
Definition

template <class classType, class regType> class Registrable : public Creatable<classType>

Member Functions
Registrable::GetFirstRegistration Returns the first registration.
Registrable::GetLastRegistration Returns the last registration.
Registrable::FindRegistration Returns a specific registration by its type.
Template Parameters
classType The type of the base class of a hierarchy of extensible classes.
regType The type of the Registration subclass used to register classes derived from classType.
Constructor

Registrable()

Description
The Registrable class is the base class for class types that can have custom subclasses that are registered with the engine.
Base Classes
Creatable<classType> Registrable objects are a special type of creatable object.
See Also

Registration