A singleton to keep all the registered Attribute Converters. More...
#include <AttributeConverterManager.h>
Public Member Functions | |
| void | addConverter (const std::string &name, AttributeConverter converter) |
| AttributeConverter | getConverter (const std::string &name) |
| void | getConverters (std::vector< std::string > &names) const |
Static Public Member Functions | |
| static AttributeConverterManager & | getInstance () |
| It returns a reference to the singleton instance. More... | |
Private Attributes | |
| std::map< std::string, AttributeConverter > | m_converters |
A singleton to keep all the registered Attribute Converters.
Definition at line 47 of file AttributeConverterManager.h.
| void te::da::AttributeConverterManager::addConverter | ( | const std::string & | name, |
| AttributeConverter | converter | ||
| ) |
Definition at line 35 of file AttributeConverterManager.cpp.
References m_converters, and TE_TR.
Referenced by te::da::Module::initialize().
| te::da::AttributeConverter te::da::AttributeConverterManager::getConverter | ( | const std::string & | name | ) |
Definition at line 45 of file AttributeConverterManager.cpp.
References TE_TR.
Referenced by te::da::DataSetTypeConverter::add().
| void te::da::AttributeConverterManager::getConverters | ( | std::vector< std::string > & | names | ) | const |
Definition at line 55 of file AttributeConverterManager.cpp.
|
staticinherited |
It returns a reference to the singleton instance.
Referenced by te::da::DataSetTypeConverter::add(), te::da::Module::initialize(), and te::qt::widgets::PropertyConverterDialog::PropertyConverterDialog().
|
private |
Definition at line 59 of file AttributeConverterManager.h.
Referenced by addConverter().