The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib. More...
#include <SymbologyManager.h>
Public Member Functions | |
ColorManager Accessor Method | |
Method used to access the data stored on this manager. | |
| void | clear () |
| It inserts a new catalog that will be managed by ColorManager. More... | |
Static Public Member Functions | |
| static SymbologyManager & | getInstance () |
| It returns a reference to the singleton instance. More... | |
Private Attributes | |
| std::map< std::string, Symbolizer * > | m_catalogIdxByName |
| An index from catalog's name to catalog's instance (note: we can not have duplicated names). More... | |
Friends | |
| class | te::common::Singleton< SymbologyManager > |
Initializer Methods | |
| ~SymbologyManager () | |
| Destructor. More... | |
| SymbologyManager () | |
| It initializes the Singleton. More... | |
The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib.
Definition at line 55 of file SymbologyManager.h.
|
default |
Destructor.
Referenced by clear().
|
protecteddefault |
It initializes the Singleton.
Referenced by clear().
| void te::se::SymbologyManager::clear | ( | void | ) |
It inserts a new catalog that will be managed by ColorManager.
| c | The new catalog to be managed by this manager. |
| Exception | If the catalog already exists it will raise an exception. |
It removes the catalog from the system. It will not delete it from disk.
| c | The catalog to be removed. |
| Exception | If the catalog doesn't exist it will raise an exception. |
It returns the catalog identified by a given name or NULL if none is found.
| name | The name of the catalog we are looking for. |
It returns a pair of iterators over the catalogs of this manager.
It unloads all symbols managed by SymbologyManager.
Definition at line 30 of file SymbologyManager.cpp.
References m_catalogIdxByName, SymbologyManager(), and ~SymbologyManager().
|
staticinherited |
It returns a reference to the singleton instance.
|
friend |
Definition at line 57 of file SymbologyManager.h.
|
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.
Referenced by clear().