Factory integrating the create-function and adding it to the lookup map in an easy template. More...
#include <pointfilter.h>
Public Member Functions | |
CheckerFactory (const std::string &key) | |
Instanciate in the source code with the to be created class as template argument and associated key string as constructor argument. More... | |
Static Public Member Functions | |
static Checker * | create (const std::string &value) |
Automated create function, safely returning a nullpointer if the constructor throws for unwanted values. More... | |
Factory integrating the create-function and adding it to the lookup map in an easy template.
Definition at line 72 of file pointfilter.h.
|
inline |
Instanciate in the source code with the to be created class as template argument and associated key string as constructor argument.
Definition at line 74 of file pointfilter.h.
|
inlinestatic |
Automated create function, safely returning a nullpointer if the constructor throws for unwanted values.
Definition at line 76 of file pointfilter.h.