26 #ifndef __TERRALIB_QT_WIDGETS_DATASOURCE_CONNECTOR_CORE_INTERNAL_DATASOURCETYPEMANAGER_H
27 #define __TERRALIB_QT_WIDGETS_DATASOURCE_CONNECTOR_CORE_INTERNAL_DATASOURCETYPEMANAGER_H
30 #include "../../../../common/Singleton.h"
31 #include "../../Config.h"
38 #include <boost/ptr_container/ptr_map.hpp>
63 typedef std::map<std::string, DataSourceType*>::const_iterator
const_iterator;
64 typedef std::map<std::string, DataSourceType*>::iterator
iterator;
70 void remove(
const std::string& name);
72 std::size_t size()
const;
97 #endif // __TERRALIB_QT_WIDGETS_DATASOURCE_CONNECTOR_CORE_INTERNAL_DATASOURCETYPEMANAGER_H
Template support for singleton pattern.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
A base class for the suppported types of data source.
std::map< std::string, DataSourceType * > m_datasourceTypeMap
std::map< std::string, DataSourceType * >::iterator iterator
std::map< std::string, DataSourceType * >::const_iterator const_iterator
A singleton to keep all the registered data source types.