An unary functor that retrieves the value of a given property from the Base.PropertyContainer instance provided as argument.
More...
An unary functor that retrieves the value of a given property from the Base.PropertyContainer instance provided as argument.
◆ __init__()
None CDPL.Util.PropertyValue.__init__ |
( |
PropertyKey |
key | ) |
|
Constructs a PropertyValue
instance for the property specified by key.
- Parameters
-
key | The key of the property. |
◆ __call__()
Retrievs the value of the property specified in the constructor from the Base.PropertyContainer instance cntnr.
- Parameters
-
- Returns
- The value of the property.