21 #ifndef mia_core_handlerbase_hh 22 #define mia_core_handlerbase_hh 46 typedef std::map<std::string, const CPluginHandlerBase*>
HandlerHelpMap;
83 void print_short_help(std::ostream& os)
const;
89 void print_help(std::ostream& os)
const;
98 const std::string& get_descriptor()
const;
111 void get_string_help_description_xml(std::ostream& os,
CXMLElement& root)
const;
117 std::string get_handler_type_string()
const;
125 bool validate_parameter_string(
const std::string& s)
const;
129 virtual void do_print_short_help(std::ostream& os)
const = 0;
130 virtual void do_print_help(std::ostream& os)
const = 0;
131 virtual void do_get_xml_help(
CXMLElement& root)
const = 0;
132 virtual void do_add_dependend_handlers(
HandlerHelpMap& handler_map)
const = 0;
133 virtual std::string get_handler_type_string_and_help(std::ostream& os)
const;
134 virtual std::string do_get_handler_type_string()
const;
135 virtual bool do_validate_parameter_string(
const std::string& s)
const;
137 std::string m_descriptor;
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
std::map< std::string, const CPluginHandlerBase * > HandlerHelpMap
A map that is used to collect the plug-in handlers used in a program.
The base class for all plugin handlers.
This class implements a facade for the xml Element.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
#define NS_MIA_END
conveniance define to end the mia namespace