Subclass of FactoryBase.
More...
|
typedef T *(* | Creator) (P0, P1, P2) |
|
template<class T, class P0, class P1, class P2>
class Factory3Param< T, P0, P1, P2 >
Subclass of FactoryBase.
<>
◆ Creator
template<class T , class P0 , class P1 , class P2 >
typedef T*(* Factory3Param< T, P0, P1, P2 >::Creator) (P0, P1, P2) |
◆ addCreator()
template<class T , class P0 , class P1 , class P2 >
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 , class P2 >
T * Factory3Param< T, P0, P1, P2 >::create |
( |
const char * |
nm, |
|
|
P0 |
p0, |
|
|
P1 |
p1, |
|
|
P2 |
p2, |
|
|
bool |
chknm = true |
|
) |
| const |
|
inline |
Name may be be null, if null name is given chknm will be forced to false
◆ moveAfter()
template<class T , class P0 , class P1 , class P2 >
bool Factory3Param< T, P0, P1, P2 >::moveAfter |
( |
int |
from, |
|
|
int |
to |
|
) |
| |
|
inline |
Moves an item at the index from, after the index to.
◆ removeCreator()
template<class T , class P0 , class P1 , class P2 >
◆ creators_
template<class T , class P0 , class P1 , class P2 >