#ifndef _WORD #define _WORD #include #include using namespace std; class Word { public: Word(){} //in-line default constructor Word( string Val ):value(Val){} //in-line parametric constructor string getValue() const{ return value;} //inspector void UpperCase(); //Mutator bool operator==( Word Right); //predicate relation bool operator<( Word Right); //predicate relation bool operator>( Word Right); //predicate relation void Output( ostream& fout ) const; //boundary method private: string value; }; #endif