copasi API
0.1
|
#include <CNormalLcm.h>
Public Member Functions | |
CNormalLcm () | |
CNormalLcm (const CNormalLcm &src) | |
CNormalLcm & | operator= (const CNormalLcm &src) |
~CNormalLcm () | |
bool | add (const CNormalItemPower &itemPower) |
bool | add (const CNormalSum &sum) |
bool | remove (const CNormalItemPower &itemPower) |
bool | remove (const CNormalSum &sum) |
const std::set < CNormalItemPower *, compareItemPowers > & | getItemPowers () const |
const std::vector< CNormalSum * > & | getSums () const |
std::string | toString () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CNormalLcm &d) |
The class for lcms used in CNormal
CNormalLcm::CNormalLcm | ( | ) |
Default constructor
CNormalLcm::CNormalLcm | ( | const CNormalLcm & | src | ) |
Copy contructor
CNormalLcm::~CNormalLcm | ( | ) |
Destructor
bool CNormalLcm::add | ( | const CNormalItemPower & | itemPower | ) |
Add an itempower to this lcm, ie. lcm := LeastCommonMultiple(lcm,itempower)
bool CNormalLcm::add | ( | const CNormalSum & | sum | ) |
Add a fractionless sum to this lcm, ie. lcm := LeastCommonMultiple(lcm,sum)
const std::set< CNormalItemPower *, compareItemPowers > & CNormalLcm::getItemPowers | ( | ) | const |
Retrieve the set of itempowers of this lcm.
const std::vector< CNormalSum * > & CNormalLcm::getSums | ( | ) | const |
Retrieve the vector of sums of this lcm.
CNormalLcm & CNormalLcm::operator= | ( | const CNormalLcm & | src | ) |
Assignment operator
bool CNormalLcm::remove | ( | const CNormalItemPower & | itemPower | ) |
Remove an itempower from this lcm, provided it is a factor
bool CNormalLcm::remove | ( | const CNormalSum & | sum | ) |
Remove a fractionless sum from this lcm, provided it is a factor
std::string CNormalLcm::toString | ( | ) | const |
std::ostream& operator<< | ( | std::ostream & | os, |
const CNormalLcm & | d | ||
) | [friend] |