26#ifndef __TERRALIB_EDIT_INTERNAL_REPOSITORYMANAGER_H
27#define __TERRALIB_EDIT_INTERNAL_REPOSITORYMANAGER_H
92 void clear(
const std::string& source);
96 void remove(
const std::string& source);
Template support for singleton pattern.
Template support for singleton pattern.
This class represents an unique id for a data set element.
void addGeometry(const std::string &source, te::da::ObjectId *id, te::gm::Geometry *geom)
void remove(const std::string &source)
void addFeature(const std::string &source, Feature *f)
void clear(const std::string &source)
Repository * createRepository(const std::string &source)
std::vector< Feature * > getFeatures(const std::string &source, const te::gm::Envelope &e, int srid) const
Repository * getRepository(const std::string &source) const
Feature * getFeature(const std::string &source, te::da::ObjectId *id) const
void removeFeature(const std::string &source, te::da::ObjectId *id)
~RepositoryManager()
Singleton destructor.
Feature * getFeature(const std::string &source, const te::gm::Envelope &e, int srid) const
std::map< std::string, Repository * > m_repositories
void addGeometry(const std::string &source, te::gm::Geometry *geom)
RepositoryManager()
It initializes the singleton instance of the repository manager.
bool hasIdentify(const std::string &source, te::da::ObjectId *id)
const std::map< std::string, Repository * > & getRepositories() const
This class represents a repository of geometries and features.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Namespace for the DataAccess API of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Configuration flags for the TerraLib Edit module.
#define TEEDITEXPORT
You can use this macro in order to export/import classes and functions from this module.
Utility functions for TerraLib Edit module.