#include <NodeFactoryContainer.h>
Inheritance diagram for ot::NodeFactoryContainer:


Public Member Functions | |
| virtual | ~NodeFactoryContainer () |
| void | addFactory (NodeFactory &factory) |
| void | removeFactory (NodeFactory &factory) |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| void | removeAll () |
| void | copyFrom (const NodeFactoryContainer &other) |
Protected Attributes | |
| NodeFactoryVector | factories |
| the list of known NodeFactories | |
|
|
Destructor clears the factories list. |
|
|
adds a NodeFactory to the container making nodes provided by this factory accessible.
|
|
|
|
|
||||||||||||
|
implements abstract method from NodeFactory. it loops through the known NodeFactories and calls createNode on them until it receives a non NULL result. It then returns this node.
Implements ot::NodeFactory. |
|
|
|
|
|
removes a NodeFactory from the container.
|
|
|
the list of known NodeFactories
|
1.4.6