Public Member Functions | |
ProductTransformationSequence () | |
virtual | ~ProductTransformationSequence () |
virtual bool | doTransform (const RCP< ScalarExpr > &left, const RCP< ScalarExpr > &right, RCP< ScalarExpr > &rtn) const |
Definition at line 50 of file SundanceProductTransformationSequence.hpp.
ProductTransformationSequence::ProductTransformationSequence | ( | ) |
Definition at line 42 of file SundanceProductTransformationSequence.cpp.
virtual Sundance::ProductTransformationSequence::~ProductTransformationSequence | ( | ) | [inline, virtual] |
Definition at line 58 of file SundanceProductTransformationSequence.hpp.
bool ProductTransformationSequence::doTransform | ( | const RCP< ScalarExpr > & | left, | |
const RCP< ScalarExpr > & | right, | |||
RCP< ScalarExpr > & | rtn | |||
) | const [virtual] |
Test whether the transform is applicable in this case, and if it is, apply it. The return value is true is the transformation was applied, otherwise false. Returns by non-const reference the transformed expression.
For ProductTransformationSequence, this is implemented by trying to apply all transformations in sequence. If one succeeds, we exit immediately with true.
Implements Sundance::ProductTransformation.
Definition at line 47 of file SundanceProductTransformationSequence.cpp.
References SUNDANCE_MSG2, and Playa::ObjectWithVerbosity::verb().