aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-02 13:13:03 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-02 13:13:03 +0000
commit7ae633f8a997997524cded2d205d14eeb5f08051 (patch)
tree7e773bd0b4a1aea83534a6ce5c80c9f4269e20f5 /src/tafnode.cpp
parentb6f57560fb7fae00f0854ca19158bd5512e5405b (diff)
downloadlibbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.gz
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.bz2
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.xz
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.zip
Updated on my laptop and discovered that the new, more pedantic gcc had a
problem with a missing include. Also, if you get errors about conflicts and things being declared twice, then "rm src/exceptions.o" it shouldn't be sneaking in there still, but it may be. then do a full "build -c all" and build. Oh, also found some solid gold taf code that never got included, but is very much needed. Remembering to commit would be useful...
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r--src/tafnode.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tafnode.cpp b/src/tafnode.cpp
index 128355a..829a8e1 100644
--- a/src/tafnode.cpp
+++ b/src/tafnode.cpp
@@ -104,6 +104,11 @@ Bu::TafProperty *Bu::TafGroup::addProperty(
104 return addChild( new TafProperty( sName, sValue ) ); 104 return addChild( new TafProperty( sName, sValue ) );
105} 105}
106 106
107bool Bu::TafGroup::hasChild( const Bu::FString &sName ) const
108{
109 return hChildren.has( sName );
110}
111
107const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const 112const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const
108{ 113{
109 return hChildren.get( sName ); 114 return hChildren.get( sName );
@@ -119,6 +124,11 @@ const Bu::TafGroup *Bu::TafGroup::getChild( const Bu::FString &sName ) const
119 return hChildren.get( sName ).first(); 124 return hChildren.get( sName ).first();
120} 125}
121 126
127bool Bu::TafGroup::hasProperty( const Bu::FString &sName ) const
128{
129 return hProp.has( sName );
130}
131
122const Bu::TafGroup::PropList &Bu::TafGroup::getProperties( const Bu::FString &sName ) const 132const Bu::TafGroup::PropList &Bu::TafGroup::getProperties( const Bu::FString &sName ) const
123{ 133{
124 return hProp.get( sName ); 134 return hProp.get( sName );