Inheritance diagram for Exponent::MathTools::CDimension:

Definition at line 30 of file CDimension.hpp.
| Exponent::MathTools::CDimension::CDimension | ( | const long | width = 0, |
|
| const long | height = 0 | |||
| ) |
Construction
| width | The width of the unit | |
| height | The height of the unit |
| Exponent::MathTools::CDimension::CDimension | ( | const CDimension & | dimension | ) |
Copy construction
| dimension | The dimension to copy |
| virtual Exponent::MathTools::CDimension::~CDimension | ( | ) | [virtual] |
Destruction
| long Exponent::MathTools::CDimension::getHeight | ( | ) | const |
Get the height
| long | The height |
| long Exponent::MathTools::CDimension::getWidth | ( | ) | const |
Get the width
| long | The width |
| CDimension& Exponent::MathTools::CDimension::operator= | ( | const CDimension & | dimension | ) |
Assignment operator
| dimension | The dimension to copy |
| CDimension& | A refeernce to this |
| bool Exponent::MathTools::CDimension::operator== | ( | const CDimension & | dimension | ) |
Equality operator
| dimension | The dimension to compare to |
| bool | True if the dimensions are the same, false otherwise |
| void Exponent::MathTools::CDimension::setDimension | ( | const CDimension & | dimension | ) |
Copy another dimension
| dimension | The dimension to copy |
| void Exponent::MathTools::CDimension::setDimension | ( | const long | width, | |
| const long | height | |||
| ) |
Set the entire dimension
| width | The width of the unit | |
| height | The height of the unit |
| void Exponent::MathTools::CDimension::setHeight | ( | const long | height | ) |
Set the height
| height | The height of the unit |
| void Exponent::MathTools::CDimension::setWidth | ( | const long | width | ) |
Set the width
| width | The width of the unit |
long Exponent::MathTools::CDimension::m_height [protected] |
Height
Definition at line 124 of file CDimension.hpp.
long Exponent::MathTools::CDimension::m_width [protected] |
Width
Definition at line 123 of file CDimension.hpp.