diff options
Diffstat (limited to 'include/Variables.h')
-rw-r--r-- | include/Variables.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/Variables.h b/include/Variables.h index 955cf62..ffaf98e 100644 --- a/include/Variables.h +++ b/include/Variables.h @@ -2,6 +2,7 @@ #define __VARIABLES_H__ #ifdef __cplusplus +#include <vector> #include "Exceptions.h" #include "String.h" #include "Handle.h" @@ -28,15 +29,18 @@ class Variables : public Base { public: - Variables(int); + Variables(int = 0); ~Variables(); void SetTo(int i, const String &); String operator[](const String &); String operator[](int i); void Dump(Handle *); int GetNb(); + void Add(const String &); + void Del(int); + void Del(const String &); private: - String * Vars; + vector<String> Vars; int nbvars; }; |