From bf53de3dfa4db68627f2935e6b2144835604df3a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 16 Oct 2009 16:09:02 +0000 Subject: Finally added the substream class, and added getByPath (for properties) and getChildByPath (for groups) to the TafGroup class. --- src/tafgroup.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tafgroup.h') diff --git a/src/tafgroup.h b/src/tafgroup.h index 6a50d11..f2df669 100644 --- a/src/tafgroup.h +++ b/src/tafgroup.h @@ -16,6 +16,7 @@ namespace Bu { + typedef Bu::List StrList; class TafProperty; class TafComment; /** @@ -53,6 +54,10 @@ namespace Bu TafProperty *addProperty( const Bu::FString &sName, const Bu::FString &sValue ); const NodeList &getChildren() const; + const TafGroup *getChildByPath( const Bu::FString &sPath ) const; + const TafGroup *getChildByPath( StrList lPath ) const; + const Bu::FString &getByPath( const Bu::FString &sPath ) const; + const Bu::FString &getByPath( StrList lPath ) const; private: Bu::FString sName; -- cgit v1.2.3