#include <optional>
#include <map>
#include <wx/string.h>
Go to the source code of this file.
 | 
| template<typename V>  | 
| std::optional< V >  | get_opt (const std::map< wxString, V > &aMap, const wxString &aKey) | 
|   | 
| template<typename V>  | 
| std::optional< V >  | get_opt (const std::map< wxString, V > &aMap, const char *aKey) | 
|   | 
| template<typename K, typename V>  | 
| std::optional< V >  | get_opt (const std::map< K, V > &aMap, const K &aKey) | 
|   | 
| wxString  | get_def (const std::map< wxString, wxString > &aMap, const char *aKey, const char *aDefval="") | 
|   | 
| wxString  | get_def (const std::map< wxString, wxString > &aMap, const char *aKey, const wxString &aDefval=wxString()) | 
|   | 
| wxString  | get_def (const std::map< wxString, wxString > &aMap, const wxString &aKey, const wxString &aDefval=wxString()) | 
|   | 
| template<typename K, typename V>  | 
| V  | get_def (const std::map< K, V > &aMap, const K &aKey, const V &aDefval=V()) | 
|   | 
◆ get_def() [1/4]
template<typename K, typename V> 
  
  
      
        
          | V get_def  | 
          ( | 
          const std::map< K, V > & |           aMap,  | 
         
        
           | 
           | 
          const K & |           aKey,  | 
         
        
           | 
           | 
          const V & |           aDefval = V() ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_def() [2/4]
  
  
      
        
          | wxString get_def  | 
          ( | 
          const std::map< wxString, wxString > & |           aMap,  | 
         
        
           | 
           | 
          const char * |           aKey,  | 
         
        
           | 
           | 
          const char * |           aDefval = "" ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_def() [3/4]
  
  
      
        
          | wxString get_def  | 
          ( | 
          const std::map< wxString, wxString > & |           aMap,  | 
         
        
           | 
           | 
          const char * |           aKey,  | 
         
        
           | 
           | 
          const wxString & |           aDefval = wxString() ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_def() [4/4]
  
  
      
        
          | wxString get_def  | 
          ( | 
          const std::map< wxString, wxString > & |           aMap,  | 
         
        
           | 
           | 
          const wxString & |           aKey,  | 
         
        
           | 
           | 
          const wxString & |           aDefval = wxString() ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_opt() [1/3]
template<typename K, typename V> 
  
  
      
        
          | std::optional< V > get_opt  | 
          ( | 
          const std::map< K, V > & |           aMap,  | 
         
        
           | 
           | 
          const K & |           aKey ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_opt() [2/3]
template<typename V> 
  
  
      
        
          | std::optional< V > get_opt  | 
          ( | 
          const std::map< wxString, V > & |           aMap,  | 
         
        
           | 
           | 
          const char * |           aKey ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_opt() [3/3]
template<typename V> 
  
  
      
        
          | std::optional< V > get_opt  | 
          ( | 
          const std::map< wxString, V > & |           aMap,  | 
         
        
           | 
           | 
          const wxString & |           aKey ) | 
         
       
   | 
  
inline   | 
  
 
Definition at line 34 of file map_helpers.h.
Referenced by get_opt(), SCH_IO_EASYEDAPRO::LoadAllDataFromProject(), PCB_IO_EASYEDA::LoadBoard(), loadSymbol(), DIALOG_EXPORT_STEP::onBrowseClicked(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_PARSER::ParseFootprint(), SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDA_PARSER::ParseSymbol(), SCH_EASYEDAPRO_PARSER::ParseSymbol(), PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer(), and UnescapeHTML().