The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib.
More...
#include <SymbologyManager.h>
|
|
Method used to access the data stored on this manager.
|
void | clear () |
| It inserts a new catalog that will be managed by ColorManager. More...
|
|
The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib.
- See also
- Singleton
Definition at line 55 of file SymbologyManager.h.
◆ ~SymbologyManager()
te::se::SymbologyManager::~SymbologyManager |
( |
| ) |
|
◆ SymbologyManager()
te::se::SymbologyManager::SymbologyManager |
( |
| ) |
|
|
protected |
It initializes the Singleton.
◆ clear()
void te::se::SymbologyManager::clear |
( |
| ) |
|
It inserts a new catalog that will be managed by ColorManager.
- Parameters
-
c | The new catalog to be managed by this manager. |
- Exceptions
-
Exception | If the catalog already exists it will raise an exception. |
- Note
- Don't free the resources used by the catalog, the manager will take the ownership of it.
It removes the catalog from the system. It will not delete it from disk.
- Parameters
-
c | The catalog to be removed. |
- Exceptions
-
Exception | If the catalog doesn't exist it will raise an exception. |
- Note
- The memory pointed by c will be deallocated. Don't reference it anymore.
It returns the catalog identified by a given name or NULL if none is found.
- Parameters
-
name | The name of the catalog we are looking for. |
- Returns
- A pointer to a catalog (don't free the pointer) or NULL if none is found.
It returns a pair of iterators over the catalogs of this manager.
- Returns
- A pair of iterators over the catalogs of this manager where pair.first will be the beginning and pair.second will be the end iterator.
It unloads all symbols managed by SymbologyManager.
◆ getInstance()
It returns a reference to the singleton instance.
- Returns
- A reference to the singleton instance.
Definition at line 126 of file Singleton.h.
◆ te::common::Singleton< SymbologyManager >
◆ m_catalogIdxByName
std::map<std::string, Symbolizer*> te::se::SymbologyManager::m_catalogIdxByName |
|
private |
An index from catalog's name to catalog's instance (note: we can not have duplicated names).
Definition at line 132 of file SymbologyManager.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/SymbologyManager.h