Go to the documentation of this file.
12 #ifndef ECL_UTILITIES_BLUEPRINT_FACTORY_HPP_
13 #define ECL_UTILITIES_BLUEPRINT_FACTORY_HPP_
46 template <
typename Derived>
71 template <
typename BaseType>
73 return static_cast<Derived*
>(
this)->instantiate();
90 template <
typename BaseType>
92 static_cast<const Derived*
>(
this)->apply(
object);
104 template <
typename Base>
105 class BluePrintFactory {
#define ecl_compile_time_concept_check(Model)
BaseType implementInstantiate()
Use the blueprint to instantiate a new object.
virtual ~BluePrintFactory()
BluePrint()
Blueprint concept checking.
void implementApply(BaseType &object) const
Apply the blueprint rules to an existing object.
BluePrintFactory()
Default constructor that locks this class from being used directly.
Embedded control libraries.
ecl_utilities
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:32