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

# User Rev Content
1 douglas 260 // Vance Thrift and Biller File Utility 2
2     //
3     // Douglas Thrift
4     //
5 douglas 267 // $Id: IndividualClient.h,v 1.4 2003/08/18 22:25:29 douglas Exp $
6 douglas 260
7     #ifndef _IndividualClient_h_
8     #define _IndividualClient_h_
9    
10 douglas 265 #include "VTBFileUtil2.h"
11 douglas 260
12     class IndividualClient
13     {
14     private:
15 douglas 265 unsigned number;
16     string name;
17     string file;
18 douglas 267 void lowercase(string& word) { for (unsigned index = 0; index <
19     word.length(); index++) word[index] = tolower(word[index]); }
20 douglas 265 void demunge(void);
21     string demunge(const string& munged);
22 douglas 266 void capitalize(string& word, unsigned index = 0, unsigned count = 1);
23 douglas 260 public:
24 douglas 265 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 douglas 260 };
33    
34     #endif // _IndividualClient_h_