Odil
A C++11 library for the DICOM standard
Namespaces | Typedefs | Functions
xml_converter.h File Reference
#include <functional>
#include <utility>
#include <boost/property_tree/ptree.hpp>
#include "odil/DataSet.h"
#include "odil/odil.h"
Include dependency graph for xml_converter.h:

Go to the source code of this file.

Namespaces

 odil
 

Typedefs

typedef std::function< std::pair< std::string, std::string > std::shared_ptr< DataSet const >, Tag const &) > odil::BulkDataCreator
 

Functions

boost::property_tree::ptree odil::as_xml (std::shared_ptr< DataSet const > data_set, BulkDataCreator const &bulk_data_creator={})
 Convert a data set to its XML representation. More...
 
std::shared_ptr< DataSet > odil::as_dataset (boost::property_tree::ptree const &xml)
 Create a data set from its XML representation. More...