blob: c8d4141bdd23baa9d5a9e0785c4e203d71f95eea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef NULLSOFT_XML_XMLPARAMETERS_H
#define NULLSOFT_XML_XMLPARAMETERS_H
#include "ifc_xmlreaderparams.h"
class XMLParameters : public ifc_xmlreaderparams
{
public:
XMLParameters(const wchar_t **_parameters);
const wchar_t *GetItemName(int i);
const wchar_t *GetItemValueIndex(int i);
const wchar_t *GetItemValue(const wchar_t *name);
int GetItemValueInt(const wchar_t *name, int def = 0);
const wchar_t *EnumItemValues(const wchar_t *name, int nb);
int GetNumItems();
private:
const wchar_t **parameters;
int numParameters;
bool numParametersCalculated;
void CountTo(int x);
void Count();
protected:
RECVS_DISPATCH;
};
#endif
|