Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template serialize

boost::property_tree::serialize

Synopsis

// In header: <boost/property_tree/ptree_serialization.hpp>


template<typename Archive, typename K, typename D, typename C> 
  void serialize(Archive & ar, basic_ptree< K, D, C > & t, 
                 const unsigned int file_version);

Description

Load or store the property tree using the given archive.

Parameters:

ar

The archive from which to load or save the serialized property tree. The type of this archive will determine whether saving or loading is performed.

file_version

file_version for the archive.

t

The property tree to load or save.


PrevUpHomeNext