#include <OpenMS/CONCEPT/FactoryProduct.h>
Every derived class T has to implement the static function registerChildren that registers all from T derived classes S at Factory<T>.
Every from T derived class S has to implement the static function T* create() which is going to be registered at Factory<T>.
Additionally the static function const String getProductName() is required, which returns the name the class is registered by. The used name has to be given in the Constructor.
Public Member Functions | |
FactoryProduct (const String &name) | |
Constructor. | |
FactoryProduct (const FactoryProduct &source) | |
Copy constructor. | |
virtual FactoryProduct & | operator= (const FactoryProduct &source) |
Assignment operator. | |
virtual bool | operator== (const FactoryProduct &rhs) const |
Equality operator. | |
Private Member Functions | |
FactoryProduct () | |
Hidden default construcor (name is required). |
FactoryProduct | ( | const String & | name | ) |
Constructor.
FactoryProduct | ( | const FactoryProduct & | source | ) |
Copy constructor.
FactoryProduct | ( | ) | [private] |
Hidden default construcor (name is required).
virtual FactoryProduct& operator= | ( | const FactoryProduct & | source | ) | [virtual] |
Assignment operator.
virtual bool operator== | ( | const FactoryProduct & | rhs | ) | const [virtual] |
Equality operator.
Generated Tue Apr 1 15:36:43 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |