diff options
Diffstat (limited to '')
-rw-r--r-- | src/list.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h new file mode 100644 index 0000000..48faf23 --- /dev/null +++ b/src/list.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef GATS_LIST_H | ||
2 | #define GATS_LIST_H | ||
3 | |||
4 | #include "gats/object.h" | ||
5 | #include <bu/list.h> | ||
6 | |||
7 | namespace Gats | ||
8 | { | ||
9 | class List : public Gats::Object, public Bu::List<Gats::Object *> | ||
10 | { | ||
11 | public: | ||
12 | List(); | ||
13 | virtual ~List(); | ||
14 | |||
15 | virtual Type getType() const { return typeList; } | ||
16 | |||
17 | virtual void write( Bu::Stream &rOut ) const; | ||
18 | virtual void read( Bu::Stream &rIn, char cType ); | ||
19 | }; | ||
20 | }; | ||
21 | |||
22 | #endif | ||