ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/IndividualClient.h
(Generate patch)

Comparing trunk/VTBFileUtil2/IndividualClient.h (file contents):
Revision 284 by douglas, 2003-09-01T23:05:56-07:00 vs.
Revision 285 by douglas, 2003-09-02T20:40:35-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: IndividualClient.h,v 1.6 2003/09/02 06:05:56 douglas Exp $
5 > // $Id: IndividualClient.h,v 1.7 2003/09/03 03:40:35 douglas Exp $
6  
7   #ifndef _IndividualClient_h_
8   #define _IndividualClient_h_
# Line 16 | Line 16 | private:
16          string name;
17          string file;
18          static string extension;
19 <        void lowercase(string& word) { for (unsigned index = 0; index <
20 <                word.length(); index++) word[index] = tolower(word[index]); }
19 >        void lowercase(string& word) { word = toLower(word); }
20          void demunge(void);
21          string demunge(const string& munged);
22          void capitalize(string& word, unsigned index = 0, unsigned count = 1);
# Line 53 | Line 52 | inline bool mcLess(const string& first,
52                  }
53          }
54  
55 <        return first < second;
55 >        return toLower(first) < toLower(second);
56   }
57   inline bool mcGreater(const string& first, const string& second)
58   {
# Line 69 | Line 68 | inline bool mcGreater(const string& firs
68                  }
69          }
70  
71 <        return first > second;
71 >        return toLower(first) > toLower(second);
72   }
73  
74   #endif // _IndividualClient_h_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines