summaryrefslogtreecommitdiff
path: root/src/tafgroup.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-10-16 16:09:02 +0000
committerMike Buland <eichlan@xagasoft.com>2009-10-16 16:09:02 +0000
commitbf53de3dfa4db68627f2935e6b2144835604df3a (patch)
treee5e50c0b0e7df827dcdc8a162f1ff5fb61ac3277 /src/tafgroup.h
parent96b07a22f5392f5d7f821f5743deb3d64bd94e89 (diff)
downloadlibbu++-bf53de3dfa4db68627f2935e6b2144835604df3a.tar.gz
libbu++-bf53de3dfa4db68627f2935e6b2144835604df3a.tar.bz2
libbu++-bf53de3dfa4db68627f2935e6b2144835604df3a.tar.xz
libbu++-bf53de3dfa4db68627f2935e6b2144835604df3a.zip
Finally added the substream class, and added getByPath (for properties) and
getChildByPath (for groups) to the TafGroup class.
Diffstat (limited to 'src/tafgroup.h')
-rw-r--r--src/tafgroup.h5
1 files changed, 5 insertions, 0 deletions
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 @@
16 16
17namespace Bu 17namespace Bu
18{ 18{
19 typedef Bu::List<Bu::FString> StrList;
19 class TafProperty; 20 class TafProperty;
20 class TafComment; 21 class TafComment;
21 /** 22 /**
@@ -53,6 +54,10 @@ namespace Bu
53 TafProperty *addProperty( 54 TafProperty *addProperty(
54 const Bu::FString &sName, const Bu::FString &sValue ); 55 const Bu::FString &sName, const Bu::FString &sValue );
55 const NodeList &getChildren() const; 56 const NodeList &getChildren() const;
57 const TafGroup *getChildByPath( const Bu::FString &sPath ) const;
58 const TafGroup *getChildByPath( StrList lPath ) const;
59 const Bu::FString &getByPath( const Bu::FString &sPath ) const;
60 const Bu::FString &getByPath( StrList lPath ) const;
56 61
57 private: 62 private:
58 Bu::FString sName; 63 Bu::FString sName;