OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
Abstract interface for an element factory. More...
#include <Factory.h>
Public Member Functions | |
Factory () | |
virtual | ~Factory () |
virtual bool | define (ElementBase *newElement)=0 |
Define a new element. More... | |
virtual void | erase (const std::string &name)=0 |
Erase element by name. More... | |
virtual ElementBase * | find (const std::string &name) const =0 |
Find element by name. More... | |
virtual ElementBase * | makeElement (const std::string &type, const std::string &name, const AttributeSet &set)=0 |
Make new element. More... | |
virtual bool | storeElement (ElementBase *newElement)=0 |
Define a new element. More... | |
Factory::Factory | ( | ) |
Definition at line 27 of file Factory.cpp.
|
virtual |
Definition at line 31 of file Factory.cpp.
|
pure virtual |
Define a new element.
Implemented in ElementFactory.
|
pure virtual |
Erase element by name.
Implemented in ElementFactory.
|
pure virtual |
Find element by name.
Implemented in ElementFactory.
|
pure virtual |
Make new element.
Implemented in ElementFactory.
|
pure virtual |
Define a new element.
Implemented in ElementFactory.