aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/null.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-libbu++/src/null.h')
-rw-r--r--c++-libbu++/src/null.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/c++-libbu++/src/null.h b/c++-libbu++/src/null.h
new file mode 100644
index 0000000..afa2d0a
--- /dev/null
+++ b/c++-libbu++/src/null.h
@@ -0,0 +1,24 @@
1#ifndef GATS_NULL_H
2#define GATS_NULL_H
3
4#include "gats/object.h"
5
6namespace Gats
7{
8 class Null : public Gats::Object
9 {
10 public:
11 Null();
12 virtual ~Null();
13
14 virtual Type getType() const { return typeNull; }
15 virtual Object *clone() const;
16
17 virtual void write( Bu::Stream &rOut ) const;
18 virtual void read( Bu::Stream &rIn, char cType );
19 };
20};
21
22Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b );
23
24#endif