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 267 by douglas, 2003-08-18T15:25:29-07:00 vs.
Revision 271 by douglas, 2003-08-19T22:49:34-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: IndividualClient.h,v 1.4 2003/08/18 22:25:29 douglas Exp $
5 > // $Id: IndividualClient.h,v 1.5 2003/08/20 05:49:34 douglas Exp $
6  
7   #ifndef _IndividualClient_h_
8   #define _IndividualClient_h_
# Line 15 | Line 15 | private:
15          unsigned number;
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]); }
21          void demunge(void);
# Line 26 | Line 27 | public:
27          unsigned getNumber(void);
28          string getName(void);
29          string getFile(void);
30 +        static string getExtension(void) { return extension; }
31          void setNumber(unsigned number);
32          void setName(const string& name);
33          void setFile(const string& file);
34 +        static void setExtension(const string& extension) {
35 +                IndividualClient::extension = extension; }
36   };
37  
38   #endif // _IndividualClient_h_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines