Mirror reflection library - Lagoon run-time layer 0.5.13
|
Interface for a polymorphic factory manager. More...
#include <lagoon/polymorph_factory.hpp>
Inherited by lagoon::my_factory_manager.
Public Member Functions | |
virtual raw_ptr | data (void) |
virtual raw_ptr | add_constructor (raw_ptr data, const shared< meta_constructor > &constructor, const polymorph_factory_context &context, bool backward_iteration) |
virtual void | finish (raw_ptr data) |
virtual int | index (void)=0 |
Interface for a polymorphic factory manager.
The manager is responsible for choosing and providing the index of the constructor that is to be used for the construction of an instance of product type.