Utility class to help find the nearest name in a given ea/name dictionary.  
|  | 
|  | __init__ (self, ea_names) | 
|  | 
|  | update (self, ea_names) | 
|  | Updates the ea/names map. 
 | 
|  | 
|  | find (self, ea) | 
|  | Returns a tupple (ea, name, pos) that is the nearest to the passed ea If no name is matched then None is returned. 
 | 
|  | 
|  | __iter__ (self) | 
|  | 
|  | __getitem__ (self, index) | 
|  | Returns the tupple (ea, name, index) 
 | 
|  | 
◆ __init__()
      
        
          | __init__ | ( |  | self, | 
        
          |  |  |  | ea_names ) | 
      
 
 
◆ __getitem__()
      
        
          | __getitem__ | ( |  | self, | 
        
          |  |  |  | index ) | 
      
 
 
◆ __iter__()
◆ _get_item()
  
  | 
        
          | _get_item | ( |  | self, |  
          |  |  |  | index ) |  | protected | 
 
 
◆ find()
◆ update()
      
        
          | update | ( |  | self, | 
        
          |  |  |  | ea_names ) | 
      
 
 
◆ _addrs
  
  | 
        
          | _addrs = list(ea_names.keys()) |  | protected | 
 
 
◆ _names
The documentation for this class was generated from the following file: