aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/null.h
blob: afa2d0a36ba5b33ea1c9d09ee969722a78634188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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