#include <mia/core/paramtranslator.hh>
Definition at line 34 of file paramtranslator.hh.
◆ CParamTranslator()
CParamTranslator::CParamTranslator |
( |
const char * |
name | ) |
|
◆ ~CParamTranslator()
virtual CParamTranslator::~CParamTranslator |
( |
| ) |
|
|
virtual |
◆ add_parameter()
void CParamTranslator::add_parameter |
( |
const std::string & |
name, |
|
|
CParameter * |
param |
|
) |
| |
◆ check_parameters()
void CParamTranslator::check_parameters |
( |
| ) |
|
◆ do_get_help_xml()
virtual void CParamTranslator::do_get_help_xml |
( |
CXMLElement & |
root | ) |
const |
|
virtual |
◆ get_descr()
const std::string CParamTranslator::get_descr |
( |
| ) |
const |
- Returns
- the description of the translator
◆ get_help()
void CParamTranslator::get_help |
( |
std::ostream & |
os | ) |
const |
◆ get_help_xml()
void CParamTranslator::get_help_xml |
( |
CXMLElement & |
root | ) |
const |
◆ get_name()
const char* CParamTranslator::get_name |
( |
| ) |
const |
- Returns
- the name of the translator
◆ get_parameters()
◆ get_short_help()
void CParamTranslator::get_short_help |
( |
std::ostream & |
os | ) |
const |
◆ set_parameters()
void CParamTranslator::set_parameters |
( |
const CParsedOptions & |
options | ) |
|
Set the parameter according to the given option map. If the parameter name does not exists, the function will throw an invalid_argument exception. Depending on the parameter type setting it might also throw an invalid_argument exception.
- Parameters
-
Referenced by TFactory< TTransformCreator< Transform > >::create().
The documentation for this class was generated from the following file: