diff options
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r-- | src/tafnode.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tafnode.cpp b/src/tafnode.cpp index c9756ec..01880d9 100644 --- a/src/tafnode.cpp +++ b/src/tafnode.cpp | |||
@@ -7,3 +7,19 @@ Bu::TafNode::TafNode() | |||
7 | Bu::TafNode::~TafNode() | 7 | Bu::TafNode::~TafNode() |
8 | { | 8 | { |
9 | } | 9 | } |
10 | |||
11 | void Bu::TafNode::setProperty( Bu::FString sName, Bu::FString sValue ) | ||
12 | { | ||
13 | if( hProp.has( sName ) ) | ||
14 | { | ||
15 | hProp.insert( sName, PropList() ); | ||
16 | } | ||
17 | |||
18 | hProp.get( sName ).append( sValue ); | ||
19 | } | ||
20 | |||
21 | const Bu::TafNode::PropList &Bu::TafNode::getProperty( const Bu::FString &sName ) | ||
22 | { | ||
23 | return hProp.get( sName ); | ||
24 | } | ||
25 | |||