#include <CNormalSum.h>
Definition at line 37 of file CNormalSum.h.
Definition at line 45 of file CNormalSum.cpp.
References CNormalProduct::getFactor(), and CNormalProduct::getItemPowers().
57 std::set<CNormalItemPower*, compareItemPowers >::const_iterator it;
58 std::set<CNormalItemPower*, compareItemPowers >::const_iterator itEnd = product1->
getItemPowers().end();
59 std::set<CNormalItemPower*, compareItemPowers >::const_iterator it2;
60 std::set<CNormalItemPower*, compareItemPowers >::const_iterator it2End = product2->
getItemPowers().end();
62 for (it = product1->
getItemPowers().begin(), it2 = product2->
getItemPowers().begin(); (it != itEnd) && (it2 != it2End); ++it, ++it2)
64 if (**it < **it2)
return true;
66 if (**it2 < **it)
return false;
const std::set< CNormalItemPower *, compareItemPowers > & getItemPowers() const
const C_FLOAT64 & getFactor() const
The documentation for this class was generated from the following files: