1 |
#ifndef __StringArray_H__
|
2 |
#define __StringArray_H__
|
3 |
|
4 |
#include "../String/String.h"
|
5 |
|
6 |
class StringArray
|
7 |
{
|
8 |
|
9 |
public:
|
10 |
|
11 |
StringArray();
|
12 |
StringArray(int iSize);
|
13 |
|
14 |
~StringArray();
|
15 |
void setString(char *iBuffer,int index);
|
16 |
void removeString(int index);
|
17 |
char *getString(int index);
|
18 |
void sortLargestOrder();
|
19 |
void sortSmallestOrder();
|
20 |
void addLast(String &iString);
|
21 |
void addLast(String *iString);
|
22 |
void addLast(char *iBuffer);
|
23 |
String **addStringToArray(String **source, int sourceSize, String *stringPointer);
|
24 |
|
25 |
String **buffer;
|
26 |
int size;
|
27 |
|
28 |
};
|
29 |
|
30 |
#endif
|