diff options
Diffstat (limited to '')
-rw-r--r-- | c++-qt/src/null.cpp | 31 |
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 | |||
5 | Gats::Null::Null() | ||
6 | { | ||
7 | } | ||
8 | |||
9 | Gats::Null::~Null() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | Gats::Object *Gats::Null::clone() const | ||
14 | { | ||
15 | return new Gats::Null(); | ||
16 | } | ||
17 | |||
18 | void Gats::Null::write( QIODevice &rOut ) const | ||
19 | { | ||
20 | rOut.write("n", 1 ); | ||
21 | } | ||
22 | |||
23 | void Gats::Null::read( QIODevice &rIn, char cType ) | ||
24 | { | ||
25 | } | ||
26 | /* | ||
27 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ) | ||
28 | { | ||
29 | return f << "(bool) " << b.getValue(); | ||
30 | } | ||
31 | */ | ||