Darwin Neuroevolution Framework
|
A set of instances implementing common interface (primarily intended to support registering named factory objects) More...
#include <modules.h>
Public Member Functions | |
template<class FACTORY > | |
void | add (const string &name) |
Registers a concrete implementation. | |
INTERFACE * | find (const string &name) const |
Returns a previously registered instance (or nullptr if the name doesn't map to a registered instance) | |
auto | begin () const |
Registered instances begin iterator. | |
auto | end () const |
Registered instances end iterator. | |
bool | empty () const |
Returns true if the set of registered instances is empty. | |
A set of instances implementing common interface (primarily intended to support registering named factory objects)