| 1 |
bearsoft |
1.1 |
#ifndef __ExtProperties_H__
|
| 2 |
|
|
#define __ExtProperties_H__
|
| 3 |
|
|
|
| 4 |
|
|
#include "../LinkedList/ObjectLinkedList.h"
|
| 5 |
|
|
#include "../String/ExtPropertiesElement.h"
|
| 6 |
|
|
|
| 7 |
|
|
class ExtProperties
|
| 8 |
|
|
{
|
| 9 |
|
|
|
| 10 |
|
|
public:
|
| 11 |
|
|
|
| 12 |
|
|
ExtProperties::ExtProperties();
|
| 13 |
|
|
ExtProperties::~ExtProperties();
|
| 14 |
|
|
|
| 15 |
|
|
void readFile(char *fileName);
|
| 16 |
|
|
char *getData(int index, int iKey);
|
| 17 |
|
|
|
| 18 |
|
|
private:
|
| 19 |
|
|
|
| 20 |
|
|
bool newRow;
|
| 21 |
|
|
ObjectLinkedList<ExtPropertiesElement> *objectLinkedList;
|
| 22 |
|
|
StringInput *stringInput;
|
| 23 |
|
|
char *newRowOrNot();
|
| 24 |
|
|
};
|
| 25 |
|
|
|
| 26 |
|
|
#endif |