summaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r--src/tafnode.cpp16
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()
7Bu::TafNode::~TafNode() 7Bu::TafNode::~TafNode()
8{ 8{
9} 9}
10
11void 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
21const Bu::TafNode::PropList &Bu::TafNode::getProperty( const Bu::FString &sName )
22{
23 return hProp.get( sName );
24}
25