#include <valuegen.h>
Inheritance diagram for ValueGeneratorFactory< T, urf, nrf >:
If you need to support more types defined in other files, derive a new class from this one and have it call this one for anything your class doesn't handle. Instantiate the template with a different Msg::LevelHandler<> if you wish to provide support for error messages.
Definition at line 471 of file valuegen.h.
Public Methods | |
ValueGeneratorFactory (Msg::LevelHandler<> **mhp_i=&(Msg::LevelHandler<>::default_instance())) | |
virtual ValueGenerator< T > * | create (StringArgs args) const |
Constructs and returns a ValueGenerator of the specified type. | |
virtual ValueGenerator< T > * | create (StringArgs args, T *ref) const |
Extended version of create() that can correlate or link the new ValueGenerator with an existing one. | |
Protected Methods | |
void | error (const string &s) const |
This implementation ignores errors, but derived classes may redefine this function if they wish, perhaps to write messages to the console. | |
void | warning (const string &s) const |
This implementation ignores warnings, but derived classes may redefine this function if they wish, perhaps to write messages to the console. |
|
This implementation ignores errors, but derived classes may redefine this function if they wish, perhaps to write messages to the console. This support should probably be rewritten using msg.h, to inherit the global default instance. Reimplemented from VGenFactory< T >. Definition at line 532 of file valuegen.h. Referenced by ValueGeneratorFactory< T, urf, nrf >::create(). |