/[usata]/usata2/src/objects/top-nodes.cpp
ViewVC logotype

Diff of /usata2/src/objects/top-nodes.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by skunix, Tue Jan 25 19:26:33 2005 UTC revision 1.10 by skunix, Wed Mar 2 00:27:11 2005 UTC
# Line 33  GenericNode::~GenericNode() Line 33  GenericNode::~GenericNode()
33  }  }
34    
35  Object_sp  Object_sp
36  GenericNode::get_child(const std::string&child_name)  GenericNode::get_child(const std::string&child_name)const
37  {  {
38          using namespace std;          using namespace std;
39          ChildV::iterator it=          ChildV::const_iterator it=
40          find_if(children.begin(), children.end(),          find_if(children.begin(), children.end(),
41                          boost::bind(equal_to<string>(),child_name,boost::bind(&Child::first,_1)));                          boost::bind(equal_to<string>(),child_name,boost::bind(&Child::first,_1)));
42          if (it != children.end())          if (it != children.end())

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26