26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATASOURCEINFOMANAGER_H 
   27 #define __TERRALIB_DATAACCESS_INTERNAL_DATASOURCEINFOMANAGER_H 
   30 #include "../../common/Singleton.h" 
   55           typedef std::map<std::string, DataSourceInfoPtr>::const_iterator 
const_iterator;
 
   56           typedef std::map<std::string, DataSourceInfoPtr>::iterator 
iterator;
 
   62           void remove(
const std::string& id);
 
   64           void removeByType(
const std::string& dsTypeName);
 
   66           void getByType(
const std::string& dsTypeName, std::vector<DataSourceInfoPtr>& datasources) 
const;
 
   70           std::size_t size() 
const;
 
   94 #endif  // __TERRALIB_DATAACCESS_INTERNAL_DATASOURCEINFOMANAGER_H 
std::map< std::string, DataSourceInfoPtr >::iterator iterator
 
A singleton to keep all the registered data sources. 
 
std::map< std::string, DataSourceInfoPtr >::const_iterator const_iterator
 
A conteiner class for keeping information about a data source. 
 
std::map< std::string, DataSourceInfoPtr > m_datasources
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr
 
Template support for singleton pattern.