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