27 #include "../../../common/Exception.h"
28 #include "../../../common/STLUtils.h"
29 #include "../../../common/Translator.h"
40 std::string name = library->
getName();
51 std::string name = library->
getName();
52 std::map<std::string, SymbolLibrary*>::iterator it = m_symbolLibraryMap.find(name);
54 if(it == m_symbolLibraryMap.end())
57 m_symbolLibraryMap.erase(it);
64 std::map<std::string, SymbolLibrary*>::const_iterator it = m_symbolLibraryMap.find(name);
66 if(it != m_symbolLibraryMap.end())
72 std::pair<std::map<std::string, te::qt::widgets::SymbolLibrary*>::const_iterator,
75 return std::pair<std::map<std::string, SymbolLibrary*>::const_iterator,
76 std::map<std::string, SymbolLibrary*>::const_iterator>(m_symbolLibraryMap.begin(), m_symbolLibraryMap.end());
82 m_symbolLibraryMap.clear();
#define TE_TR(message)
It marks a string in order to get translated.
The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in Ter...
This class represents a library of symbols.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...