te::da::AttributeConverterManager Class Reference

A singleton to keep all the registered Attribute Converters. More...

#include <AttributeConverterManager.h>

Inheritance diagram for te::da::AttributeConverterManager:
te::common::Singleton< AttributeConverterManager >

Public Member Functions

void addConverter (const std::string &name, AttributeConverter converter)
 
void clear ()
 
AttributeConverter getConverter (const std::string &name)
 
void getConverters (std::vector< std::string > &names) const
 

Static Public Member Functions

static AttributeConverterManagergetInstance ()
 It returns a reference to the singleton instance. More...
 

Private Attributes

std::map< std::string, AttributeConverterm_converters
 

Detailed Description

A singleton to keep all the registered Attribute Converters.

Definition at line 47 of file AttributeConverterManager.h.

Member Function Documentation

◆ addConverter()

void te::da::AttributeConverterManager::addConverter ( const std::string &  name,
AttributeConverter  converter 
)

◆ clear()

void te::da::AttributeConverterManager::clear ( )

◆ getConverter()

AttributeConverter te::da::AttributeConverterManager::getConverter ( const std::string &  name)

◆ getConverters()

void te::da::AttributeConverterManager::getConverters ( std::vector< std::string > &  names) const

◆ getInstance()

AttributeConverterManager & te::common::Singleton< AttributeConverterManager >::getInstance ( )
inlinestaticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

Definition at line 126 of file Singleton.h.

Member Data Documentation

◆ m_converters

std::map<std::string, AttributeConverter> te::da::AttributeConverterManager::m_converters
private

Definition at line 61 of file AttributeConverterManager.h.


The documentation for this class was generated from the following file: