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;
88 void clear(
const std::string& source);
92 void remove(
const std::string& source);
113 #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.
Utility functions for 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.