libsub
 All Classes Files Functions Variables
Functions
xml.h File Reference

Some useful XML helper functions. More...

#include "exceptions.h"
#include <libcxml/cxml.h>
Include dependency graph for xml.h:

Go to the source code of this file.

Functions

template<class T >
boost::shared_ptr< T > sub::optional_type_child (cxml::Node const &node, std::string name)
 
template<class T >
boost::shared_ptr< T > sub::type_child (boost::shared_ptr< const cxml::Node > node, std::string name)
 
template<class T >
boost::shared_ptr< T > sub::optional_type_child (boost::shared_ptr< const cxml::Node > node, std::string name)
 
template<class T >
std::list< boost::shared_ptr< T > > sub::type_children (cxml::Node const &node, std::string name)
 
template<class T >
std::list< boost::shared_ptr< T > > sub::type_children (boost::shared_ptr< const cxml::Node > node, std::string name)
 
template<class T >
std::list< boost::shared_ptr< T > > sub::type_grand_children (cxml::Node const &node, std::string name, std::string sub)
 
template<class T >
std::list< boost::shared_ptr< T > > sub::type_grand_children (boost::shared_ptr< const cxml::Node > node, std::string name, std::string sub)
 

Detailed Description

Some useful XML helper functions.