Libosinfo.Datamap¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Libosinfo.Datamap(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(id)¶
- Parameters:
id (
str
) – the unique identifier- Returns:
an empty datamap
- Return type:
Construct a new datamapa that is initially empty.
New in version 0.2.3.
- insert(inval, outval)¶
-
Adds the input value and the output value associated to it to the self.
New in version 0.2.3.
- lookup(inval)¶
-
Returns the output value with which inval is associated to.
New in version 0.2.3.