21 #ifndef mia_core_handlerbase_hh 22 #define mia_core_handlerbase_hh 45 typedef std::map<std::string, const CPluginHandlerBase*>
HandlerHelpMap;
82 void print_short_help(std::ostream& os)
const;
88 void print_help(std::ostream& os)
const;
97 const std::string& get_descriptor()
const;
110 void get_string_help_description_xml(std::ostream& os,
CXMLElement& root)
const;
116 std::string get_handler_type_string()
const;
124 bool validate_parameter_string(
const std::string& s)
const;
128 virtual void do_print_short_help(std::ostream& os)
const = 0;
129 virtual void do_print_help(std::ostream& os)
const = 0;
130 virtual void do_get_xml_help(
CXMLElement& root)
const = 0;
131 virtual void do_add_dependend_handlers(
HandlerHelpMap& handler_map)
const = 0;
132 virtual std::string get_handler_type_string_and_help(std::ostream& os)
const;
133 virtual std::string do_get_handler_type_string()
const;
134 virtual bool do_validate_parameter_string(
const std::string& s)
const;
136 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