From 74dd68ad611d15abf16a65c36a7cfd3f4492930a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Nov 2012 16:25:22 +0000 Subject: Made the repo less libbu++-centric. --- c++-libbu++/src/null.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 c++-libbu++/src/null.h (limited to 'c++-libbu++/src/null.h') 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 @@ +#ifndef GATS_NULL_H +#define GATS_NULL_H + +#include "gats/object.h" + +namespace Gats +{ + class Null : public Gats::Object + { + public: + Null(); + virtual ~Null(); + + virtual Type getType() const { return typeNull; } + virtual Object *clone() const; + + virtual void write( Bu::Stream &rOut ) const; + virtual void read( Bu::Stream &rIn, char cType ); + }; +}; + +Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); + +#endif -- cgit v1.2.3