aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
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 );