Mirror reflection library - Lagoon run-time layer 0.5.13
|
Interface for a polymorphic factory element arrayer. More...
#include <lagoon/polymorph_factory.hpp>
Inherited by lagoon::my_factory_arrayer.
Classes | |
struct | element_producer |
Implementations are responsible for creating and storing elements. More... | |
Public Member Functions | |
virtual raw_ptr | data (void) |
virtual void | finish (raw_ptr data) |
virtual void | assign_producer (element_producer &producer) |
Assigns an element producer for this arrayer. | |
virtual void | create (element_producer &producer)=0 |
Creates the elements and puts them into a container. |
Interface for a polymorphic factory element arrayer.
The arrayer is responsible for creating sequences of elements when constructing containers.
virtual void lagoon::polymorph_factory_arrayer::create | ( | element_producer & | producer | ) | [pure virtual] |
Creates the elements and puts them into a container.
The container used by this function must be a std::vector<Element>