Module wmiutils :: Class ByMapConverter
[hide private]

Class ByMapConverter

source code

Converter --+
            |
           ByMapConverter

This converter considers value obtained from CIM as a key in the dictionary.


Deprecated: This class is deprecated

Instance Methods [hide private]
 
__init__(self, map) source code
 
convert(self, originalValue)
Returns value from the dictionary corresponding to 'originalValue' key
source code
Method Details [hide private]

convert(self, originalValue)

source code 

Returns value from the dictionary corresponding to 'originalValue' key

Raises:
  • UnmapperValueException - if there is no value registered for passed key.
Overrides: Converter.convert