22 #ifndef mia_core_cmdtranslatoroption_hh 23 #define mia_core_cmdtranslatoroption_hh 39 void set_value(
const char *str_value);
41 void write_value(std::ostream& os)
const;
45 virtual void post_add_translator(CTranslator& t) = 0;
47 virtual void do_write_value(std::ostream& os)
const = 0;
49 std::map<std::string, std::shared_ptr<CTranslator> > m_translators;
71 virtual bool do_set_value(
const char *str_value);
72 virtual void do_write_value(std::ostream& os)
const;
74 ValueTranslator& m_vt;
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
CParamizedFunctor(const char *name)
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
std::vector< std::pair< std::string, CParsedOptions > > CParts
Type for a map of parts of a complex option.
#define NS_MIA_END
conveniance define to end the mia namespace