The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib.
More...
#include <SymbolLibraryManager.h>
The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib.
- See also
- Symbol, SymbolLibrary, Singleton
Definition at line 53 of file SymbolLibraryManager.h.
te::qt::widgets::SymbolLibraryManager::~SymbolLibraryManager |
( |
| ) |
|
te::qt::widgets::SymbolLibraryManager::SymbolLibraryManager |
( |
| ) |
|
|
protected |
It initializes the Singleton.
void te::qt::widgets::SymbolLibraryManager::clear |
( |
| ) |
|
SymbolLibrary* te::qt::widgets::SymbolLibraryManager::findByName |
( |
const std::string & |
name | ) |
const |
It returns the symbol library identified by a given name or NULL if none is found.
- Parameters
-
name | The name of the symbol library we are looking for. |
- Returns
- A pointer to a symbol library or NULL if none is found.
It returns a reference to the singleton instance.
- Returns
- A reference to the singleton instance.
Definition at line 120 of file Singleton.h.
std::pair<std::map<std::string, SymbolLibrary*>::const_iterator, std::map<std::string, SymbolLibrary*>::const_iterator> te::qt::widgets::SymbolLibraryManager::getIterator |
( |
| ) |
const |
It returns a pair of iterators over the symbol libraries of this manager.
- Returns
- A pair of iterators over the symbol libraries of this manager where pair.first will be the beginning and pair.second will be the end iterator.
void te::qt::widgets::SymbolLibraryManager::insert |
( |
SymbolLibrary * |
library | ) |
|
It inserts a new symbol library that will be managed by SymbolLibraryManager.
- Parameters
-
library | The new symbol library to be managed by this manager. |
void te::qt::widgets::SymbolLibraryManager::remove |
( |
SymbolLibrary * |
library | ) |
|
It removes the symbol library from the manager.
- Parameters
-
library | The symbol library to be removed. |
- Exceptions
-
Exception | If the symbol library doesn't exist it will raise an exception. |
std::map<std::string, SymbolLibrary*> te::qt::widgets::SymbolLibraryManager::m_symbolLibraryMap |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/widgets/se/SymbolLibraryManager.h