2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: IndividualClient.h,v 1.2 2003/08/17 03:55:39 douglas Exp $ |
5 |
> |
// $Id: IndividualClient.h,v 1.4 2003/08/18 22:25:29 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _IndividualClient_h_ |
8 |
|
#define _IndividualClient_h_ |
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) { word[index] = |
21 |
< |
toupper(word[index]); } |
22 |
> |
void capitalize(string& word, unsigned index = 0, unsigned count = 1); |
23 |
|
public: |
24 |
|
IndividualClient() { number = 0; } |
25 |
|
~IndividualClient() {} |