aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-10-03 03:05:30 +0000
committerMike Buland <eichlan@xagasoft.com>2007-10-03 03:05:30 +0000
commit850ebb96df909a4113fdf9c5bf82cf0f598901ca (patch)
tree82c562ea4a9239f113ff3a65425cae123e349df4 /src/tafnode.h
parent1a93511936a87715115f968a94841ca3b502c858 (diff)
downloadlibbu++-850ebb96df909a4113fdf9c5bf82cf0f598901ca.tar.gz
libbu++-850ebb96df909a4113fdf9c5bf82cf0f598901ca.tar.bz2
libbu++-850ebb96df909a4113fdf9c5bf82cf0f598901ca.tar.xz
libbu++-850ebb96df909a4113fdf9c5bf82cf0f598901ca.zip
Added some fun new features to the TafNode system.
Diffstat (limited to 'src/tafnode.h')
-rw-r--r--src/tafnode.h4
1 files changed, 4 insertions, 0 deletions
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
46 virtual ~TafGroup(); 46 virtual ~TafGroup();
47 47
48 const Bu::FString &getName() const; 48 const Bu::FString &getName() const;
49 void setName( const Bu::FString &sName );
49 50
50 const Bu::FString &getProperty( const Bu::FString &sName ) const; 51 const Bu::FString &getProperty( const Bu::FString &sName ) const;
51 const PropList &getProperties( const Bu::FString &sName ) const; 52 const PropList &getProperties( const Bu::FString &sName ) const;
@@ -55,6 +56,9 @@ namespace Bu
55 TafGroup *addChild( TafGroup *pNode ); 56 TafGroup *addChild( TafGroup *pNode );
56 TafProperty *addChild( TafProperty *pNode ); 57 TafProperty *addChild( TafProperty *pNode );
57 TafComment *addChild( TafComment *pNode ); 58 TafComment *addChild( TafComment *pNode );
59 TafGroup *addGroup( const Bu::FString &sName );
60 TafProperty *addProperty(
61 const Bu::FString &sName, const Bu::FString &sValue );
58 const NodeList &getChildren() const; 62 const NodeList &getChildren() const;
59 63
60 private: 64 private: