An unary functor that retrieves the value of a given property from the Base::PropertyContainer instance provided as argument.
More...
#include <PropertyValue.hpp>
template<typename T>
class CDPL::Util::PropertyValue< T >
An unary functor that retrieves the value of a given property from the Base::PropertyContainer instance provided as argument.
- Template Parameters
-
T | The type of the property value. |
◆ PropertyValue()
Constructs a PropertyValue
instance for the property specified by key.
- Parameters
-
key | The key of the property. |
◆ operator()()
Retrievs the value of the property specified in the constructor from the Base::PropertyContainer instance cntnr.
- Parameters
-
- Returns
- The value of the property.
The documentation for this class was generated from the following file: