From 7ae633f8a997997524cded2d205d14eeb5f08051 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Oct 2008 13:13:03 +0000 Subject: 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... --- src/tafnode.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/tafnode.cpp') 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( return addChild( new TafProperty( sName, sValue ) ); } +bool Bu::TafGroup::hasChild( const Bu::FString &sName ) const +{ + return hChildren.has( sName ); +} + const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const { return hChildren.get( sName ); @@ -119,6 +124,11 @@ const Bu::TafGroup *Bu::TafGroup::getChild( const Bu::FString &sName ) const return hChildren.get( sName ).first(); } +bool Bu::TafGroup::hasProperty( const Bu::FString &sName ) const +{ + return hProp.has( sName ); +} + const Bu::TafGroup::PropList &Bu::TafGroup::getProperties( const Bu::FString &sName ) const { return hProp.get( sName ); -- cgit v1.2.3