26 #ifndef __TERRALIB_EDIT_INTERNAL_REPOSITORYMANAGER_H 27 #define __TERRALIB_EDIT_INTERNAL_REPOSITORYMANAGER_H 30 #include "../common/Singleton.h" 74 void addFeature(
const std::string& source,
Feature* f);
78 const std::map<std::string, Repository*>& getRepositories()
const;
80 Repository* getRepository(
const std::string& source)
const;
82 std::vector<Feature*> getFeatures(
const std::string& source,
const te::gm::Envelope& e,
int srid)
const;
90 void clear(
const std::string& source);
94 void remove(
const std::string& source);
115 #endif // __TERRALIB_EDIT_INTERNAL_REPOSITORYMANAGER_H Utility functions for TerraLib Edit module.
Configuration flags for the TerraLib Edit module.
std::map< std::string, Repository * > m_repositories
This is a singleton for managing edit repositories.
An Envelope defines a 2D rectangular region.
void ObjectId()
ObjectId example.
This class represents an unique id for a data set element.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
#define TEEDITEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class represents a repository of geometries and features.
Template support for singleton pattern.