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