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... | |
Friends | |
class | te::common::Singleton< SymbologyManager > |
Initializer Methods | |
Methods related to instantiation and destruction. | |
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... | |
~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.
te::se::SymbologyManager::~SymbologyManager | ( | ) |
Destructor.
|
protected |
It initializes the Singleton.
void te::se::SymbologyManager::clear | ( | ) |
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.
|
inlinestaticinherited |
It returns a reference to the singleton instance.
Definition at line 109 of file Singleton.h.
|
friend |
Definition at line 55 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.