darts/factory.h file

Implementation of the abstract factory.

Classes

template<typename Object, typename... Args>
class Factory
Abstract factory used to construct objects by name.
template<typename T>
class DartsFactory
A specialization of the Factory for darts objects read from json.

Defines

#define DARTS_REGISTER_CLASS_IN_FACTORY(T, cls, name)
Macro for registering an object constructor with a DartsFactory.