diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-03-25 20:00:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-03-25 20:00:08 +0000 |
commit | 469bbcf0701e1eb8a6670c23145b0da87357e178 (patch) | |
tree | b5b062a16e46a6c5d3410b4e574cd0cc09057211 /src/stable/tafproperty.cpp | |
parent | ee1b79396076edc4e30aefb285fada03bb45e80d (diff) | |
download | libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.gz libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.bz2 libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.xz libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.zip |
Code is all reorganized. We're about ready to release. I should write up a
little explenation of the arrangement.
Diffstat (limited to 'src/stable/tafproperty.cpp')
-rw-r--r-- | src/stable/tafproperty.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/stable/tafproperty.cpp b/src/stable/tafproperty.cpp new file mode 100644 index 0000000..4ef5c24 --- /dev/null +++ b/src/stable/tafproperty.cpp | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #include "bu/tafproperty.h" | ||
9 | |||
10 | Bu::TafProperty::TafProperty( const Bu::TafProperty &rSrc ) : | ||
11 | TafNode( typeProperty ), | ||
12 | sName( rSrc.sName ), | ||
13 | sValue( rSrc.sValue ) | ||
14 | { | ||
15 | } | ||
16 | |||
17 | Bu::TafProperty::TafProperty( const Bu::String &sName, const Bu::String &sValue ) : | ||
18 | TafNode( typeProperty ), | ||
19 | sName( sName ), | ||
20 | sValue( sValue ) | ||
21 | { | ||
22 | } | ||
23 | |||
24 | Bu::TafProperty::~TafProperty() | ||
25 | { | ||
26 | } | ||
27 | |||
28 | const Bu::String &Bu::TafProperty::getName() const | ||
29 | { | ||
30 | return sName; | ||
31 | } | ||
32 | |||
33 | const Bu::String &Bu::TafProperty::getValue() const | ||
34 | { | ||
35 | return sValue; | ||
36 | } | ||
37 | |||