diff options
author | Pixel <Pixel> | 2001-10-27 11:15:57 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-10-27 11:15:57 +0000 |
commit | 54e62a566c003363078aa5273a728c0a0657b3a0 (patch) | |
tree | 542f106033e7f702feaaba8672873e6244c8baf1 /include/Variables.h | |
parent | ec2ecbd35bea64c88ab783b06100edc65c418048 (diff) |
Reworking on it...
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; }; |