From 850ebb96df909a4113fdf9c5bf82cf0f598901ca Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 3 Oct 2007 03:05:30 +0000 Subject: Added some fun new features to the TafNode system. --- src/tafnode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tafnode.h') diff --git a/src/tafnode.h b/src/tafnode.h index cb4093f..4940bee 100644 --- a/src/tafnode.h +++ b/src/tafnode.h @@ -46,6 +46,7 @@ namespace Bu virtual ~TafGroup(); const Bu::FString &getName() const; + void setName( const Bu::FString &sName ); const Bu::FString &getProperty( const Bu::FString &sName ) const; const PropList &getProperties( const Bu::FString &sName ) const; @@ -55,6 +56,9 @@ namespace Bu TafGroup *addChild( TafGroup *pNode ); TafProperty *addChild( TafProperty *pNode ); TafComment *addChild( TafComment *pNode ); + TafGroup *addGroup( const Bu::FString &sName ); + TafProperty *addProperty( + const Bu::FString &sName, const Bu::FString &sValue ); const NodeList &getChildren() const; private: -- cgit v1.2.3