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.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/c++-libbu++/src/null.h b/c++-libbu++/src/null.h
index afa2d0a..fc7825b 100644
--- a/c++-libbu++/src/null.h
+++ b/c++-libbu++/src/null.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef GATS_NULL_H 8#ifndef GATS_NULL_H
2#define GATS_NULL_H 9#define GATS_NULL_H
3 10
@@ -5,18 +12,18 @@
5 12
6namespace Gats 13namespace Gats
7{ 14{
8 class Null : public Gats::Object 15 class Null : public Gats::Object
9 { 16 {
10 public: 17 public:
11 Null(); 18 Null();
12 virtual ~Null(); 19 virtual ~Null();
13 20
14 virtual Type getType() const { return typeNull; } 21 virtual Type getType() const { return typeNull; }
15 virtual Object *clone() const; 22 virtual Object *clone() const;
16 23
17 virtual void write( Bu::Stream &rOut ) const; 24 virtual void write( Bu::Stream &rOut ) const;
18 virtual void read( Bu::Stream &rIn, char cType ); 25 virtual void read( Bu::Stream &rIn, char cType );
19 }; 26 };
20}; 27};
21 28
22Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); 29Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b );