The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib. More...
#include <SymbolLibraryManager.h>
  
 Public Member Functions | |
| ~SymbolLibraryManager () | |
| Destructor.  More... | |
SymbolLibraryManager Accessor Method  | |
Method used to access the data stored on this manager.  | |
| void | insert (SymbolLibrary *library) | 
| It inserts a new symbol library that will be managed by SymbolLibraryManager.  More... | |
| void | remove (SymbolLibrary *library) | 
| It removes the symbol library from the manager.  More... | |
| SymbolLibrary * | findByName (const std::string &name) const | 
| It returns the symbol library identified by a given name or NULL if none is found.  More... | |
| std::pair< std::map< std::string, SymbolLibrary * >::const_iterator, std::map< std::string, SymbolLibrary * >::const_iterator > | getIterator () const | 
| It returns a pair of iterators over the symbol libraries of this manager.  More... | |
| void | clear () | 
| It unloads all symbol libraries managed by SymbolLibraryManager.  More... | |
Static Public Member Functions | |
| static SymbolLibraryManager & | getInstance () | 
| It returns a reference to the singleton instance.  More... | |
Protected Member Functions | |
| SymbolLibraryManager () | |
| It initializes the Singleton.  More... | |
Private Attributes | |
| std::map< std::string, SymbolLibrary * > | m_symbolLibraryMap | 
| The set of symbol libraries.  More... | |
Friends | |
| class | te::common::Singleton< SymbolLibraryManager > | 
The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib.
Definition at line 53 of file SymbolLibraryManager.h.
| te::qt::widgets::SymbolLibraryManager::~SymbolLibraryManager | ( | ) | 
Destructor.
      
  | 
  protected | 
It initializes the Singleton.
| void te::qt::widgets::SymbolLibraryManager::clear | ( | ) | 
It unloads all symbol libraries managed by SymbolLibraryManager.
| 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.
| name | The name of the symbol library we are looking for. | 
      
  | 
  staticinherited | 
It returns a reference to the singleton instance.
| 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.
| void te::qt::widgets::SymbolLibraryManager::insert | ( | SymbolLibrary * | library | ) | 
It inserts a new symbol library that will be managed by SymbolLibraryManager.
| 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.
| library | The symbol library to be removed. | 
| Exception | If the symbol library doesn't exist it will raise an exception. | 
      
  | 
  friend | 
Definition at line 55 of file SymbolLibraryManager.h.
      
  | 
  private | 
The set of symbol libraries.
Definition at line 113 of file SymbolLibraryManager.h.