aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
blob: 01880d971beeef08c3e4cb4f83e6b168a31411f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "tafnode.h"

Bu::TafNode::TafNode()
{
}

Bu::TafNode::~TafNode()
{
}

void Bu::TafNode::setProperty( Bu::FString sName, Bu::FString sValue )
{
	if( hProp.has( sName ) )
	{
		hProp.insert( sName, PropList() );
	}

	hProp.get( sName ).append( sValue );
}

const Bu::TafNode::PropList &Bu::TafNode::getProperty( const Bu::FString &sName )
{
	return hProp.get( sName );
}