SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
XMLSerializer.h File Reference
#include <boost/noncopyable.hpp>
#include <boost/archive/xml_iarchive.hpp>
#include <boost/archive/xml_oarchive.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/foreach.hpp>
#include <fstream>
#include <Dataflow/Serialization/Network/share.h>

Go to the source code of this file.

Namespaces

 SCIRun
 STL datatypes needed.
 
 SCIRun::Dataflow
 
 SCIRun::Dataflow::Networks
 
 SCIRun::Dataflow::Networks::XMLSerializer
 

Functions

template<class Serializable >
void save_xml (const Serializable &data, std::ostream &ostr, const std::string &rootName)
 
template<class Serializable >
void save_xml (const Serializable &data, const std::string &filename, const std::string &rootName)
 
template<class Serializable >
boost::shared_ptr< Serializable > load_xml (std::istream &istr)
 
template<class Serializable >
boost::shared_ptr< Serializable > load_xml (const std::string &filename)