26 #ifndef __TERRALIB_DATAACCESS_DATASOURCE_INTERNAL_DATASOURCEFACTORY_H 
   27 #define __TERRALIB_DATAACCESS_DATASOURCE_INTERNAL_DATASOURCEFACTORY_H 
   30 #include "../../common/Static.h" 
   31 #include "../Config.h" 
   32 #include "../Exception.h" 
   40 #include <boost/function.hpp> 
   63         static std::auto_ptr<DataSource> make(
const std::string& dsType);
 
   67         static void remove(
const std::string& dsType);
 
   69         static bool find(
const std::string& dsType);
 
   79 #endif  // __TERRALIB_DATAACCESS_DATASOURCE_INTERNAL_DATASOURCEFACTORY_H 
A factory for data sources. 
 
static std::map< std::string, FactoryFnctType > sm_factories
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
boost::function< DataSource *()> FactoryFnctType
 
A base type for static classes.