Mirror reflection library 0.5.13
|
Suppliers are responsible for getting existing values to be copied from. More...
#include <mirror/doc/concepts_fact_gen.hpp>
Public Member Functions | |
Suppliers (UnspecifiedType parent_data, ConstructionInfo construction_info) | |
Constructor. | |
void | finish (UnspecifiedType parent_data) |
Post construction finishing of the Suppliers. | |
Product | operator() (void) |
Function call operator returning an existing instance of Product . |
Suppliers are responsible for getting existing values to be copied from.
Instantiations of this template provide existing values of a Product
type that are used by copy constructors to create a new instance of Product
in a generated factory.
One instance of Suppliers for a particular Product
type having a copy constructor is created every time a factory needs to create an instance of Product
either as the final product of construction or as an parameter for another constructor.
void mirror::Suppliers< Product, SourceTraits >::finish | ( | UnspecifiedType | parent_data | ) |