|
Minsky: 3.17.0
|
factory class template, for creating objects of type T<O>. N is the maximum value of O More...
#include <operationType.h>

Classes | |
| struct | Creator |
| struct | CreatorBase |
| struct | is_equal |
Public Member Functions | |
| template<int I> | |
| classdesc::enable_if< classdesc::Not< is_equal< I, N > >, void >::T | registerNext () |
| template<int I> | |
| classdesc::enable_if< is_equal< I, N >, void >::T | registerNext () |
| Base * | create (OperationType::Type o) const |
| create an object of type T<o> on the heap More... | |
| OperationFactory () | |
Private Attributes | |
| std::vector< std::unique_ptr< CreatorBase > > | creators |
factory class template, for creating objects of type T<O>. N is the maximum value of O
Definition at line 76 of file operationType.h.
|
inline |
Definition at line 116 of file operationType.h.
|
inline |
create an object of type T<o> on the heap
Definition at line 111 of file operationType.h.
References minsky::OperationFactory< Base, T, N >::creators.
|
inline |
Definition at line 100 of file operationType.h.
References minsky::OperationFactory< Base, T, N >::creators.
|
inline |
Definition at line 107 of file operationType.h.
References minsky::OperationFactory< Base, T, N >::creators.
|
private |
Definition at line 84 of file operationType.h.
Referenced by minsky::OperationFactory< Base, T, N >::create(), and minsky::OperationFactory< Base, T, N >::registerNext().