This class represents a library of symbols.  
 More...
#include <SymbolLibrary.h>
This class represents a library of symbols. 
- See also
 - Symbol, SymbolLibaryManager 
 
Definition at line 52 of file SymbolLibrary.h.
 
◆ SymbolLibrary()
      
        
          | te::qt::widgets::SymbolLibrary::SymbolLibrary  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
        
      
 
 
◆ ~SymbolLibrary()
      
        
          | te::qt::widgets::SymbolLibrary::~SymbolLibrary  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ clear()
      
        
          | void te::qt::widgets::SymbolLibrary::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
It removes all symbols from this library. 
 
 
◆ findById()
      
        
          | Symbol* te::qt::widgets::SymbolLibrary::findById  | 
          ( | 
          const std::string &  | 
          id | ) | 
           const | 
        
      
 
It returns the symbol identified by a given id or NULL if none is found. 
- Parameters
 - 
  
    | name | The id of the symbol we are looking for. | 
  
   
- Returns
 - A pointer to a symbol or NULL if none is found. 
 
 
 
◆ getIterator()
      
        
          | std::pair<std::map<std::string, Symbol*>::const_iterator, std::map<std::string, Symbol*>::const_iterator> te::qt::widgets::SymbolLibrary::getIterator  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns a pair of iterators over the symbols of this library. 
- Returns
 - A pair of iterators over the symbols of this library where pair.first will be the beginning and pair.second will be the end iterator. 
 
 
 
◆ getName()
      
        
          | const std::string& te::qt::widgets::SymbolLibrary::getName  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ insert()
      
        
          | void te::qt::widgets::SymbolLibrary::insert  | 
          ( | 
          Symbol *  | 
          symbol | ) | 
           | 
        
      
 
It inserts a new symbol to this library. 
- Parameters
 - 
  
    | symbol | The new symbol that will be added to this library.  | 
  
   
 
 
◆ remove()
      
        
          | void te::qt::widgets::SymbolLibrary::remove  | 
          ( | 
          Symbol *  | 
          symbol | ) | 
           | 
        
      
 
It removes the symbol from this library. 
- Parameters
 - 
  
    | symbol | The symbol to be removed. | 
  
   
- Exceptions
 - 
  
    | Exception | If the symbol doesn't exist it will raise an exception.  | 
  
   
 
 
◆ m_name
  
  
      
        
          | std::string te::qt::widgets::SymbolLibrary::m_name | 
         
       
   | 
  
private   | 
  
 
 
◆ m_symbolMap
  
  
      
        
          | std::map<std::string, Symbol*> te::qt::widgets::SymbolLibrary::m_symbolMap | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/qt/widgets/se/SymbolLibrary.h