aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-06-10 21:28:14 +0000
committerMike Buland <eichlan@xagasoft.com>2007-06-10 21:28:14 +0000
commit5f39066a4f561e9a94a6cc9293ab9b978ebf1f81 (patch)
treea25698caf9594feecae8b71f032a11f81ba6cc3c /src/tafnode.cpp
parentf5352edf3dc23c044a91f1d1537fa0dc0f0babc7 (diff)
downloadlibbu++-5f39066a4f561e9a94a6cc9293ab9b978ebf1f81.tar.gz
libbu++-5f39066a4f561e9a94a6cc9293ab9b978ebf1f81.tar.bz2
libbu++-5f39066a4f561e9a94a6cc9293ab9b978ebf1f81.tar.xz
libbu++-5f39066a4f561e9a94a6cc9293ab9b978ebf1f81.zip
Bunch of maintenence type things. Minor tweaks and the like. The file class
has a lot more helper functions and the like, the filters give more info back to the caller, minor updates to taf.
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r--src/tafnode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tafnode.cpp b/src/tafnode.cpp
index 3060606..b9a4a24 100644
--- a/src/tafnode.cpp
+++ b/src/tafnode.cpp
@@ -45,7 +45,7 @@ const Bu::TafNode::PropList &Bu::TafNode::getProperties( const Bu::FString &sNam
45 return hProp.get( sName ); 45 return hProp.get( sName );
46} 46}
47 47
48const Bu::TafNode::NodeList &Bu::TafNode::getNodes( const Bu::FString &sName ) const 48const Bu::TafNode::NodeList &Bu::TafNode::getChildren( const Bu::FString &sName ) const
49{ 49{
50 return hChildren.get( sName ); 50 return hChildren.get( sName );
51} 51}
@@ -55,9 +55,9 @@ const Bu::FString &Bu::TafNode::getProperty( const Bu::FString &sName ) const
55 return getProperties( sName ).first(); 55 return getProperties( sName ).first();
56} 56}
57 57
58const Bu::TafNode *Bu::TafNode::getNode( const Bu::FString &sName ) const 58const Bu::TafNode *Bu::TafNode::getChild( const Bu::FString &sName ) const
59{ 59{
60 return getNodes( sName ).first(); 60 return getChildren( sName ).first();
61} 61}
62 62
63void Bu::TafNode::setName( const Bu::FString &sName ) 63void Bu::TafNode::setName( const Bu::FString &sName )