diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 17:20:11 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 17:20:11 +0000 |
commit | d534a56d95bca7bdd812be024d9eacba4734e2b7 (patch) | |
tree | f9b98ee2b80e645a7b54e7934882be6c9f73c165 /c++-libbu++/src/null.h | |
parent | 61ccc86fdf06f12cb72a8b7e65286f812cf62154 (diff) | |
download | libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.gz libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.bz2 libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.xz libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.zip |
Many changes: tabconv'd the C++ code, added a license, BSD, and docs.
Diffstat (limited to '')
-rw-r--r-- | c++-libbu++/src/null.h | 27 |
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 | ||
6 | namespace Gats | 13 | namespace 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 | ||
22 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); | 29 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ); |