27 #include "../../../common/Exception.h"
28 #include "../../../common/STLUtils.h"
29 #include "../../../common/Translator.h"
39 assert(!name.empty());
54 m_symbolMap[id] = symbol;
62 std::map<std::string, Symbol*>::iterator it = m_symbolMap.find(
id);
64 if(it == m_symbolMap.end())
67 m_symbolMap.erase(it);
72 std::map<std::string, Symbol*>::const_iterator it = m_symbolMap.find(
id);
74 if(it != m_symbolMap.end())
80 std::pair<std::map<std::string, te::qt::widgets::Symbol*>::const_iterator,
83 return std::pair<std::map<std::string, Symbol*>::const_iterator,
84 std::map<std::string, Symbol*>::const_iterator>(m_symbolMap.begin(), m_symbolMap.end());
This class represents a symbol.
#define TE_TR(message)
It marks a string in order to get translated.
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...