21 #ifndef mia_core_plugin_base_hh
22 #define mia_core_plugin_base_hh
29 #include <boost/filesystem/path.hpp>
73 void add_parameter(
const std::string& name,
CParameter *param);
88 void check_parameters();
91 const char *get_name()
const;
94 const std::string get_descr()
const;
101 void get_short_help(std::ostream& os)
const;
106 virtual void get_help(std::ostream& os)
const;
111 void get_help_xml(xmlpp::Element& root)
const;
126 bool has_property(
const char *property)
const;
153 void add_property(
const char *property);
156 virtual const std::string do_get_descr()
const = 0;
158 virtual void do_get_help_xml(xmlpp::Element& root)
const;
197 template <
typename D,
typename T>
217 virtual void get_help(std::ostream& os)
const;
222 static ::boost::filesystem::path search_path();
225 const std::string get_long_name()
const;