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);
    65         static void add(
const std::string& dsType, FactoryFnctType f);
    67         static void remove(
const std::string& dsType);
    69         static bool find(
const std::string& dsType);
    79 #endif  // __TERRALIB_DATAACCESS_DATASOURCE_INTERNAL_DATASOURCEFACTORY_H static std::map< std::string, FactoryFnctType > sm_factories
 
boost::function< DataSource *()> FactoryFnctType
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
A base type for static classes. 
 
A factory for data sources.