diff options
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r-- | src/tafnode.cpp | 10 |
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 | ||
107 | bool Bu::TafGroup::hasChild( const Bu::FString &sName ) const | ||
108 | { | ||
109 | return hChildren.has( sName ); | ||
110 | } | ||
111 | |||
107 | const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const | 112 | const 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 | ||
127 | bool Bu::TafGroup::hasProperty( const Bu::FString &sName ) const | ||
128 | { | ||
129 | return hProp.has( sName ); | ||
130 | } | ||
131 | |||
122 | const Bu::TafGroup::PropList &Bu::TafGroup::getProperties( const Bu::FString &sName ) const | 132 | const Bu::TafGroup::PropList &Bu::TafGroup::getProperties( const Bu::FString &sName ) const |
123 | { | 133 | { |
124 | return hProp.get( sName ); | 134 | return hProp.get( sName ); |