Inheritance diagram for Pounds2KilosExercise:
Public Methods | |
Pounds2KilosExercise (string name) | |
Protected Methods | |
void | execute () |
void | getInput () |
Static Private Methods | |
double | p2k (double pounds) |
double | k2p (double kilos) |
Private Attributes | |
double | fPounds |
double | fKilos |
© Bernhard Wagner, xmlizer.biz, 2002.
Definition at line 12 of file Pounds2KilosExercise.cpp.
|
Constructor.
Definition at line 20 of file Pounds2KilosExercise.cpp. |
|
Executes this exercise. To be overridden in subclasses. (Hook Method) Reimplemented from AbstractExercise. Definition at line 76 of file Pounds2KilosExercise.cpp. |
|
Gets the input for this exercise. To be overridden in subclasses. (Hook Method) Reimplemented from AbstractExercise. Definition at line 69 of file Pounds2KilosExercise.cpp. |
|
Calculates pounds from kilos.
Definition at line 87 of file Pounds2KilosExercise.cpp. References POUND_IN_KILOS. Referenced by execute(). |
|
Calculates kilos from pounds.
Definition at line 83 of file Pounds2KilosExercise.cpp. References POUND_IN_KILOS. Referenced by execute(). |
|
Definition at line 55 of file Pounds2KilosExercise.cpp. Referenced by execute(), and getInput(). |
|
Definition at line 54 of file Pounds2KilosExercise.cpp. Referenced by execute(), and getInput(). |