diff options
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 | |||
