Mirror reflection library - Lagoon run-time layer 0.5.13

lagoon::polymorph_factory_arrayer Struct Reference

Interface for a polymorphic factory element arrayer. More...

#include <lagoon/polymorph_factory.hpp>

Inherited by lagoon::my_factory_arrayer.

List of all members.

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.

Detailed Description

Interface for a polymorphic factory element arrayer.

The arrayer is responsible for creating sequences of elements when constructing containers.


Member Function Documentation

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>


The documentation for this struct was generated from the following file:

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.