OpenSDN source code
|
#include <t_generator_registry.h>
Public Member Functions | |
t_generator_factory (const std::string &short_name, const std::string &long_name, const std::string &documentation) | |
virtual | ~t_generator_factory () |
virtual t_generator * | get_generator (t_program *program, const std::map< std::string, std::string > &parsed_options, const std::string &option_string)=0 |
virtual bool | is_valid_namespace (const std::string &sub_namespace)=0 |
std::string | get_short_name () |
std::string | get_long_name () |
std::string | get_documentation () |
Private Attributes | |
std::string | short_name_ |
std::string | long_name_ |
std::string | documentation_ |
A factory for producing generator classes of a particular language.
This class is also responsible for:
Definition at line 32 of file t_generator_registry.h.
t_generator_factory::t_generator_factory | ( | const std::string & | short_name, |
const std::string & | long_name, | ||
const std::string & | documentation | ||
) |
|
inlinevirtual |
Definition at line 38 of file t_generator_registry.h.
|
inline |
Definition at line 53 of file t_generator_registry.h.
|
pure virtual |
Implemented in t_generator_factory_impl< generator >.
|
inline |
Definition at line 52 of file t_generator_registry.h.
|
inline |
Definition at line 51 of file t_generator_registry.h.
|
pure virtual |
Implemented in t_generator_factory_impl< generator >.
|
private |
Definition at line 58 of file t_generator_registry.h.
|
private |
Definition at line 57 of file t_generator_registry.h.
|
private |
Definition at line 56 of file t_generator_registry.h.