libdcp
Namespaces | Functions
xml.h File Reference

Helpers for XML reading with libcxml. More...

#include "exceptions.h"
#include <libcxml/cxml.h>

Go to the source code of this file.

Namespaces

 dcp
 Namespace for everything in libdcp.
 

Functions

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

Detailed Description

Helpers for XML reading with libcxml.

Definition in file xml.h.