aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c++-qt/src/null.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/c++-qt/src/null.cpp b/c++-qt/src/null.cpp
new file mode 100644
index 0000000..f259887
--- /dev/null
+++ b/c++-qt/src/null.cpp
@@ -0,0 +1,31 @@
1#include "gats-qt/null.h"
2
3#include <QIODevice>
4
5Gats::Null::Null()
6{
7}
8
9Gats::Null::~Null()
10{
11}
12
13Gats::Object *Gats::Null::clone() const
14{
15 return new Gats::Null();
16}
17
18void Gats::Null::write( QIODevice &rOut ) const
19{
20 rOut.write("n", 1 );
21}
22
23void Gats::Null::read( QIODevice &rIn, char cType )
24{
25}
26/*
27Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b )
28{
29 return f << "(bool) " << b.getValue();
30}
31*/