aboutsummaryrefslogtreecommitdiff
path: root/src/null.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-06-11 04:05:22 +0000
committerMike Buland <eichlan@xagasoft.com>2012-06-11 04:05:22 +0000
commit380b36be3352cd9a5c93dbd67db25346166a8547 (patch)
treef69613e7b6238744c34af6dc14d6feb68a4f6706 /src/null.h
parent3905f9962bbfb312c3804ff9c7b7d1e0fa203cbc (diff)
downloadlibgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.gz
libgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.bz2
libgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.xz
libgats-380b36be3352cd9a5c93dbd67db25346166a8547.zip
All languages now support Null except for python and php, python is proving
slightly trickier.
Diffstat (limited to 'src/null.h')
-rw-r--r--src/null.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/null.h b/src/null.h
new file mode 100644
index 0000000..afa2d0a
--- /dev/null
+++ b/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