Public Types | |
| typedef T *(* | Creator )(P0, P1, P2) |
Public Member Functions | |
| void | addCreator (Creator, const char *nm=0, const char *usernm=0) |
| T * | create (const char *nm, P0, P1, P2, bool chknm=true) const |
Protected Attributes | |
| TypeSet< Creator > | creators_ |
| typedef T*(* Factory3Param< T, P0, P1, P2 >::Creator)(P0, P1, P2) |
| void Factory3Param< T, P0, P1, P2 >::addCreator | ( | Creator | cr, | |
| const char * | nm = 0, |
|||
| const char * | usernm = 0 | |||
| ) | [inline] |
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.
| 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
TypeSet<Creator> Factory3Param< T, P0, P1, P2 >::creators_ [protected] |
1.7.1