Subclass of FactoryBase.
More...
template<class T, class P0, class P1>
class Factory2Param< T, P0, P1 >
Subclass of FactoryBase.
<>
◆ Creator
template<class T , class P0 , class P1 >
◆ addCreator()
template<class T , class P0 , class P1 >
Name may be be null If nm is found, old creator is replaced. nm can be a SeparString, separated by cSeparator(), allowing multiple names, where the first name will be the main name that is returned in getNames.
◆ create()
template<class T , class P0 , class P1 >
T * Factory2Param< T, P0, P1 >::create |
( |
const char * |
nm, |
|
|
P0 |
p0, |
|
|
P1 |
p1, |
|
|
bool |
chknm = true |
|
) |
| const |
|
inline |
Name may be be null, if null name is given chknm will be forced to false
◆ creators_
template<class T , class P0 , class P1 >