Inheritance diagram for PalindromeExercise:

Public Member Functions | |
| PalindromeExercise (string name) | |
Protected Member Functions | |
| void | execute () |
| void | getInput () |
Static Private Member Functions | |
| static bool | isPalindrome (const string &strToTest) |
Private Attributes | |
| string | fWord |
© Bernhard Wagner, xmlizer.net, 2003.
Definition at line 12 of file PalindromeExercise.cpp.
| PalindromeExercise::PalindromeExercise | ( | string | name | ) | [inline] |
Constructor.
| name | The name of the Exercise |
Definition at line 20 of file PalindromeExercise.cpp.
| void PalindromeExercise::execute | ( | ) | [protected, virtual] |
Gets the input for this exercise. To be overridden in subclasses. (Hook Method)
Reimplemented from AbstractExercise.
Definition at line 56 of file PalindromeExercise.cpp.
References fWord, and isPalindrome().
| void PalindromeExercise::getInput | ( | ) | [protected, virtual] |
Gets the input for this exercise. To be overridden in subclasses. (Hook Method)
Reimplemented from AbstractExercise.
Definition at line 51 of file PalindromeExercise.cpp.
References fWord.
| bool PalindromeExercise::isPalindrome | ( | const string & | strToTest | ) | [static, private] |
string PalindromeExercise::fWord [private] |
1.5.1