Function children

Summary

#include <src/pugixml.hpp>

(1) xml_object_range< xml_node_iterator > children() const

(2) xml_object_range< xml_named_node_iterator > children(const char_t *name) const

Function overload

Synopsis

#include <src/pugixml.hpp>

xml_object_range< xml_node_iterator > children() const

Description

Range-based for support.

Mentioned in

Source

Lines 5469-5472 in src/pugixml.cpp. Line 708 in src/pugixml.hpp.

PUGI__FN xml_object_range<xml_node_iterator> xml_node::children() const
{
    return xml_object_range<xml_node_iterator>(begin(), end());
}

Synopsis

#include <src/pugixml.hpp>

xml_object_range< xml_named_node_iterator > children(const char_t *name) const

Description

No description yet.

Mentioned in

Source

Lines 5474-5477 in src/pugixml.cpp. Line 709 in src/pugixml.hpp.

PUGI__FN xml_object_range<xml_named_node_iterator> xml_node::children(const char_t* name_) const
{
    return xml_object_range<xml_named_node_iterator>(xml_named_node_iterator(child(name_)._root, _root, name_), xml_named_node_iterator(0, _root, name_));
}





Add Discussion as Guest

Log in