ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/VTBFileUtil2/IndividualClient.h
Revision: 271
Committed: 2003-08-19T22:49:34-07:00 (19 years, 1 month ago) by douglas
Content type: text/x-c
Original Path: trunk/VTBFileUtil2/IndividualClient.h
File size: 1021 byte(s)
Log Message:
Start page of ScanUtility pretty much works.

File Contents

# Content
1 // Vance Thrift and Biller File Utility 2
2 //
3 // Douglas Thrift
4 //
5 // $Id: IndividualClient.h,v 1.5 2003/08/20 05:49:34 douglas Exp $
6
7 #ifndef _IndividualClient_h_
8 #define _IndividualClient_h_
9
10 #include "VTBFileUtil2.h"
11
12 class IndividualClient
13 {
14 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);
22 string demunge(const string& munged);
23 void capitalize(string& word, unsigned index = 0, unsigned count = 1);
24 public:
25 IndividualClient() { number = 0; }
26 ~IndividualClient() {}
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_