![]() |
Chemical Data Processing Library C++ API - Version 1.2.3
|
A binary functor that calculates the product of two property values retrieved from a pair of Base::PropertyContainer instances passed as argument. More...
#include <PropertyValueProduct.hpp>
Public Member Functions | |
| PropertyValueProduct (const Base::LookupKey &key) | |
Constructs a PropertyValueProduct instance for the property specified by key. More... | |
| 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 and cntnr2. More... | |
A binary functor that calculates the product of two property values retrieved from a pair of Base::PropertyContainer instances passed as argument.
| ResType | The result type. |
| PropertyValueType | The property value type. |
|
inline |
Constructs a PropertyValueProduct instance for the property specified by key.
| key | The key of the property. |
|
inline |
Calculates the product of the property values stored in the Base::PropertyContainer instances cntnr1 and cntnr2.
| cntnr1 | The Base::PropertyContainer instance storing the first property value. |
| cntnr2 | The Base::PropertyContainer instance storing the second property value. |