blob: f3471bd24a4dab8bafb81e7be2dfca18c7a228dd (
plain)
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
31
|
#ifndef __VARIABLES_H__
#define __VARIABLES_H__
#ifdef __cplusplus
#include <vector>
#include <String.h>
#include <Handle.h>
#include <Exceptions.h>
class Variables : public Base {
public:
Variables(int = 0);
~Variables();
void SetTo(int i, const String &);
String operator[](const String &);
String operator[](int i);
void Dump(Handle *, const String & = "");
int GetNb();
void Add(const String &);
void Del(int);
void Del(const String &);
private:
vector<String> Vars;
int nbvars;
};
#else
#error This only works with a C++ compiler
#endif
#endif
|