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()) |