diff options
Diffstat (limited to 'src/variable.cpp')
-rw-r--r-- | src/variable.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/variable.cpp b/src/variable.cpp new file mode 100644 index 0000000..3954ccd --- /dev/null +++ b/src/variable.cpp | |||
@@ -0,0 +1,15 @@ | |||
1 | #include "variable.h" | ||
2 | |||
3 | Variable::Variable() : | ||
4 | eType( Undef ), | ||
5 | bNull( true ), | ||
6 | iValue( 0 ) | ||
7 | { | ||
8 | } | ||
9 | |||
10 | Variable::~Variable() | ||
11 | { | ||
12 | if( eType == String ) | ||
13 | delete sValue; | ||
14 | } | ||
15 | |||