29 #ifndef CDPL_UTIL_PROPERTYVALUEPRODUCT_HPP
30 #define CDPL_UTIL_PROPERTYVALUEPRODUCT_HPP
48 template <
typename ResType,
typename PropertyValueType = ResType>
Definition of the class CDPL::Base::LookupKey.
Definition of the class CDPL::Base::PropertyContainer.
An unique lookup key for control-parameter and property values.
Definition: LookupKey.hpp:54
A class providing methods for the storage and lookup of object properties.
Definition: PropertyContainer.hpp:75
const T & getProperty(const LookupKey &key) const
Returns the value of the property specified by key as a const reference to an object of type T.
Definition: PropertyContainer.hpp:265
A binary functor that calculates the product of two property values retrieved from a pair of Base::Pr...
Definition: PropertyValueProduct.hpp:50
ResType operator()(const Base::PropertyContainer &cntnr1, const Base::PropertyContainer &cntnr2) const
Calculates the product of the property values stored in the Base::PropertyContainer instances cntnr1 ...
Definition: PropertyValueProduct.hpp:67
PropertyValueProduct(const Base::LookupKey &key)
Constructs a PropertyValueProduct instance for the property specified by key.
Definition: PropertyValueProduct.hpp:57
The namespace of the Chemical Data Processing Library.