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