#include #include "Word.h" void Word::UpperCase() { //Mutator for( int i = 0; i < value.size() ; i++) value[i] = toupper(value[i]); } bool Word::operator==( Word Right) { //predicate relation return (value == Right.getValue()); } bool Word::operator<( Word Right) { //predicate relation return (value < Right.getValue()); } bool Word::operator>( Word Right) { //predicate relation return (value > Right.getValue()); } void Word::Output( ostream& fout ) const { //boundary method fout << value << ' '; }