#include <UnitPower.H>
Collaboration diagram for UnitPower:
Public Methods | |
UnitPower () | |
UnitPower ( Unit* unit, Prefix* prfx, int pwr ) | |
bool | operator== ( const UnitPower& other ) const |
UnitPower& | operator= ( const UnitPower& other ) |
bool | isNull () const |
xmlNodePtr | mathML () const |
Public Attributes | |
Unit* | m_unit |
Prefix* | m_prfx |
int | m_pwr |
Static Public Methods | |
void | print ( const vector<UnitPower>& upwr, FILE* f=stderr ) |
xmlNodePtr | mathML ( const vector<UnitPower>& upwr ) |
|
Construct an empty UnitPower. Avoid this constructor. |
|
Does this UnitPower make any sense? If so, this will return false. |
|
Generate a MathML XML tree of nodes for a vector of UnitPowers. |
|
Generate a MathML XML node for the unit power. |
|
Assignment operator |
|
Compare UnitPowers. Checks unit and power, but not prefix for match. |
|
Print the units out |
|
The prefix in front of the unit |
|
The power to which it is raised. |
|
The unit |
![]() |
C++ Reference Manual | 20010520 |