26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATASOURCECATALOGMANAGER_H 
   27 #define __TERRALIB_DATAACCESS_INTERNAL_DATASOURCECATALOGMANAGER_H 
   30 #include "../../common/Comparators.h" 
   31 #include "../../common/Singleton.h" 
   32 #include "../../common/ThreadingPolicies.h" 
   54                                                                                                ::boost::recursive_mutex,
 
   55                                                                                                ::boost::lock_guard< ::boost::recursive_mutex>,
 
   56                                                                                                ::boost::lock_guard< ::boost::recursive_mutex> >,
 
   63         typedef std::map<DataSourcePtr, DataSourceCatalogPtr>::const_iterator 
const_iterator;
 
   64         typedef std::map<DataSourcePtr, DataSourceCatalogPtr>::iterator 
iterator;
 
  147         void detachAll(
const std::string& dsType);
 
  161         std::size_t size() 
const;
 
  233 #endif  // __TERRALIB_DATAACCESS_INTERNAL_DATASOURCECATALOGMANAGER_H 
const_iterator begin() const 
It returns an iterator to the beginning of the container. 
 
std::map< DataSourcePtr, DataSourceCatalogPtr >::iterator iterator
 
boost::shared_ptr< DataSource > DataSourcePtr
 
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
 
boost::shared_ptr< DataSourceCatalog > DataSourceCatalogPtr
 
std::map< DataSourcePtr, DataSourceCatalogPtr >::const_iterator const_iterator
 
mydialect insert("+", new te::da::BinaryOpEncoder("+"))
 
This is a singleton for managing all the data source catalog instances available in the system...
 
It represents the system catalog of a DataSource. 
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
std::size_t size() const 
It returns the number of data source catalogs that the manager are keeping track of. 
 
This policy assures an object-level locking scheme for a derived class. 
 
const_iterator end() const 
It returns an iterator to the end of the container. 
 
std::map< DataSourcePtr, DataSourceCatalogPtr > m_catalogs
The catalogs registered in the manager. 
 
Template support for singleton pattern.