ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/VTBFileUtil2/IndividualClient.h
Revision: 267
Committed: 2003-08-18T15:25:29-07:00 (19 years, 1 month ago) by douglas
Content type: text/x-c
Original Path: trunk/VTBFileUtil2/IndividualClient.h
File size: 841 byte(s)
Log Message:
istringstream in IndividualClient.getFile().

File Contents

# Content
1 // Vance Thrift and Biller File Utility 2
2 //
3 // Douglas Thrift
4 //
5 // $Id: IndividualClient.h,v 1.4 2003/08/18 22:25:29 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 void lowercase(string& word) { for (unsigned index = 0; index <
19 word.length(); index++) word[index] = tolower(word[index]); }
20 void demunge(void);
21 string demunge(const string& munged);
22 void capitalize(string& word, unsigned index = 0, unsigned count = 1);
23 public:
24 IndividualClient() { number = 0; }
25 ~IndividualClient() {}
26 unsigned getNumber(void);
27 string getName(void);
28 string getFile(void);
29 void setNumber(unsigned number);
30 void setName(const string& name);
31 void setFile(const string& file);
32 };
33
34 #endif // _IndividualClient_h_