|
OpenMD 3.2
Molecular Dynamics in the Open
|
#include <cassert>#include <map>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | OpenMD::GenericFactory< Object, IdentType, Creator > |
| GenericFactory is a template based Object Factory Factory pattern is used to define an interface for creating an object. More... | |
Namespaces | |
| namespace | OpenMD |
| This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel. | |
Macros | |
| #define | DECLARE_CREATOR(abstractObject, concreteObject) |
| #define | REGISTER_CREATOR(factory, ident, concreteObject) |
Functions | |
| template<typename O, typename I, typename C> | |
| std::ostream & | OpenMD::operator<< (std::ostream &o, GenericFactory< O, I, C > &factory) |
| write out all of the type identifiers to an output stream | |
Variables | |
| template<class Object, typename IdentType, typename Creator> | |
| GenericFactory< Object, IdentType, Creator > * | OpenMD::GenericFactory< Object, IdentType, Creator >::instance_ |
| #define DECLARE_CREATOR | ( | abstractObject, | |
| concreteObject ) |
Definition at line 254 of file GenericFactory.hpp.
| #define REGISTER_CREATOR | ( | factory, | |
| ident, | |||
| concreteObject ) |
Definition at line 257 of file GenericFactory.hpp.