Base class for prototype factories.
More...
#include <PrototypeFactory.h>
|
|
| PrototypeFactory () |
| | Default constructor.
|
| |
|
virtual | ~PrototypeFactory () |
| | Default destructor.
|
| |
| Prototype * | Clone (DOMNode *node) |
| |
| Prototype * | Clone (string name) |
| |
| map< string, Prototype * > * | getList () |
| | Get Pointer to list of clonable prototypes.
|
| |
Base class for prototype factories.
◆ Clone() [1/2]
| Prototype * PrototypeFactory::Clone |
( |
DOMNode * | node | ) |
|
@brief Clone a prototype by node.
- Parameters
-
| node | DOMNode containing prototype attributes. |
- Returns
- Pointer to cloned prototype.
◆ Clone() [2/2]
| Prototype * PrototypeFactory::Clone |
( |
string | name | ) |
|
@brief Clone a prototype by name.
- Parameters
-
- Returns
- Pointer to cloned prototype .
◆ get()
| Prototype * PrototypeFactory::get |
( |
string | name | ) |
|
|
protected |
◆ getList()
| map< string, Prototype * > * PrototypeFactory::getList |
( |
| ) |
|
|
inline |
Get Pointer to list of clonable prototypes.
@return Pointer to list of clonable prototypes.
◆ upper()
| int PrototypeFactory::upper |
( |
int | c | ) |
|
|
protected |
Upper case
- Parameters
-
- Returns
- Converted char.
The documentation for this class was generated from the following files: