Debian Codegraph @

src/framework/System/CNullValue.cpp

raw symbols SCIP
1 /***************************************************************************
2 CNullValue.cpp - description
3 -------------------
4 begin : January 18th, 2009
5 copyright : (C) 2009 by Duong Khang NGUYEN
6 email : neoneurone @ gmail com
7
8 $Id: CNullValue.cpp 424 2009-11-01 15:59:02Z neoneurone $
9 ***************************************************************************/
10
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * any later version. *
17 * *
18 ***************************************************************************/
19
20 // Do not include "extern NullValue Null"
21 #define _SPF_SYSTEM_CNULLVALUE_CPP_ 1
22
23 // Framework headers
24 #include "CNullValue.h" // System::NullValue class
25 #include "CString.h" // System::String class
26
27
28 SPF_NAMESPACE_BEGIN(System)
29
30
31 NullValue Null;
32
33
34 /*=====================================================================*/
35 NullValue::NullValue()
36 {
37 mbIsNull = true;
38 }
39
40
41 NullValue::NullValue(const NullValue& value)
42 {
43 mbIsNull = value.mbIsNull;
44 }
45
46
47 NullValue::~NullValue() {}
48
49
50 /*=====================================================================*/
51 bool NullValue::IsNull() const
52 {
53 return mbIsNull;
54 }
55
56
57 String NullValue::ToString() const
58 {
59 return String("System::NullValue");
60 }
61
62
63 /*=====================================================================*/
64
65
66 SPF_NAMESPACE_END