This is a singleton for managing edit repositories.
More...
#include <RepositoryManager.h>
|
void | addFeature (const std::string &source, Feature *f) |
|
void | addGeometry (const std::string &source, te::gm::Geometry *geom, OperationType operation) |
|
void | addGeometry (const std::string &source, te::da::ObjectId *id, te::gm::Geometry *geom, OperationType operation) |
|
void | clear (const std::string &source) |
|
void | clearAll () |
|
Feature * | getFeature (const std::string &source, const te::gm::Envelope &e, int srid) const |
|
std::vector< Feature * > | getFeatures (const std::string &source, const te::gm::Envelope &e, int srid) const |
|
const std::map< std::string, Repository * > & | getRepositories () const |
|
Repository * | getRepository (const std::string &source) const |
|
bool | hasIdentify (const std::string &source, te::da::ObjectId *id) |
|
void | remove (const std::string &source) |
|
void | removeAll () |
|
void | removeFeature (const std::string &source, te::da::ObjectId *id) |
|
This is a singleton for managing edit repositories.
Definition at line 64 of file RepositoryManager.h.
te::edit::RepositoryManager::RepositoryManager |
( |
| ) |
|
|
protected |
It initializes the singleton instance of the repository manager.
te::edit::RepositoryManager::~RepositoryManager |
( |
| ) |
|
|
protected |
void te::edit::RepositoryManager::addFeature |
( |
const std::string & |
source, |
|
|
Feature * |
f |
|
) |
| |
void te::edit::RepositoryManager::clear |
( |
const std::string & |
source | ) |
|
void te::edit::RepositoryManager::clearAll |
( |
| ) |
|
Feature* te::edit::RepositoryManager::getFeature |
( |
const std::string & |
source, |
|
|
const te::gm::Envelope & |
e, |
|
|
int |
srid |
|
) |
| const |
std::vector<Feature*> te::edit::RepositoryManager::getFeatures |
( |
const std::string & |
source, |
|
|
const te::gm::Envelope & |
e, |
|
|
int |
srid |
|
) |
| const |
It returns a reference to the singleton instance.
- Returns
- A reference to the singleton instance.
const std::map<std::string, Repository*>& te::edit::RepositoryManager::getRepositories |
( |
| ) |
const |
Repository* te::edit::RepositoryManager::getRepository |
( |
const std::string & |
source | ) |
const |
bool te::edit::RepositoryManager::hasIdentify |
( |
const std::string & |
source, |
|
|
te::da::ObjectId * |
id |
|
) |
| |
void te::edit::RepositoryManager::remove |
( |
const std::string & |
source | ) |
|
void te::edit::RepositoryManager::removeAll |
( |
| ) |
|
void te::edit::RepositoryManager::removeFeature |
( |
const std::string & |
source, |
|
|
te::da::ObjectId * |
id |
|
) |
| |
std::map<std::string, Repository*> te::edit::RepositoryManager::m_repositories |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/edit/RepositoryManager.h