#ifndef _SORT_HH_ #define _SORT_HH_ #include "csm.hh" using namespace std; // ADDITION: `const' qualifier for methods that do not change the object // CHANGE: removed inheritance relation because: // * all methods must be re-implemented // * `virtual inline' methods don't make sense // * setChar() is not supported here // CHANGE: constructor is passed parameter of type `CircularShift' class AlphSort { public: AlphSort(const CircularShift &inCS); inline character_t getChar(unsigned int lineNo, unsigned int wordNo, unsigned int charNo) const { } inline unsigned int lines(void) const { } inline unsigned int words(unsigned int lineNo) const { } inline unsigned int characters(unsigned int lineNo, unsigned int wordNo) const { } }; #endif