#include <valuegen.h>
Inheritance diagram for VGenFactory< T >:
Definition at line 429 of file valuegen.h.
Public Methods | |
virtual ValueGenerator< T > * | create (StringArgs args) const=0 |
Create a ValueGenerator using the given string arguments. | |
virtual ValueGenerator< T > * | create (StringArgs args, T *ref) const=0 |
Extended version of create() that can correlate or link the new ValueGenerator with an existing one. | |
Protected Methods | |
virtual void | error (const string &) const |
This implementation ignores errors, but derived classes may redefine this function if they wish, perhaps to write messages to the console. | |
virtual void | warning (const string &) const |
This implementation ignores warnings, but derived classes may redefine this function if they wish, perhaps to write messages to the console. |
|
Create a ValueGenerator using the given string arguments. Notice that the args argument is passed by value and not reference, and thus this routine is assuming full responsibility for parsing the whole list. The caller should not assume there are further arguments to process when this routine returns. Implemented in ValueGeneratorFactory< T, urf, nrf >. |
|
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 in ValueGeneratorFactory< T, urf, nrf >. Definition at line 452 of file valuegen.h. |