API documentation
PrototypeFactory Class Reference
Base class for prototype factories. More...
#include <PrototypeFactory.h>
Inheritance diagram for PrototypeFactory:Public Member Functions | |
| PrototypeFactory () | |
| Default constructor. | |
| virtual | ~PrototypeFactory () |
| Default destructor. | |
| Prototype * | Clone (DOMNode *node) |
| Clone a prototype by node. | |
| Prototype * | Clone (string name) |
| Clone a prototype by name. | |
| map< string, Prototype * > * | getList () |
| Get Pointer to list of clonable prototypes. | |
Protected Member Functions | |
| Prototype * | get (string name) |
| Get pointer to Prototype by name. | |
| int | upper (int c) |
Detailed Description
Base class for prototype factories.
Definition at line 41 of file PrototypeFactory.h.
Member Function Documentation
| Prototype * PrototypeFactory::Clone | ( | DOMNode * | node | ) |
Clone a prototype by node.
- Parameters:
-
node DOMNode containing prototype attributes.
- Returns:
- Pointer to cloned prototype.
Reimplemented in CoilPrototypeFactory.
Definition at line 34 of file PrototypeFactory.cpp.
References Prototype::Clone().
Here is the call graph for this function:| Prototype * PrototypeFactory::Clone | ( | string | name | ) |
Clone a prototype by name.
- Parameters:
-
name Prototype name.
- Returns:
- Pointer to cloned prototype .
Reimplemented in CoilPrototypeFactory.
Definition at line 48 of file PrototypeFactory.cpp.
References Prototype::Clone().
Here is the call graph for this function:| Prototype * PrototypeFactory::get | ( | string | name | ) | [protected] |
Get pointer to Prototype by name.
- Parameters:
-
name Prototype name
Reimplemented in CoilPrototypeFactory.
Definition at line 27 of file PrototypeFactory.cpp.
| map<string, Prototype*>* PrototypeFactory::getList | ( | ) | [inline] |
Get Pointer to list of clonable prototypes.
- Returns:
- Pointer to list of clonable prototypes.
Reimplemented in CoilPrototypeFactory.
Definition at line 76 of file PrototypeFactory.h.
| int PrototypeFactory::upper | ( | int | c | ) | [protected] |
Upper case
- Parameters:
-
c Char to be converted.
- Returns:
- Converted char.
Reimplemented in CoilPrototypeFactory, and ModulePrototypeFactory.
The documentation for this class was generated from the following files:



