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 to view this page for the latest version.
PrevUpHomeNext

Struct template id_translator

boost::property_tree::id_translator — Simple implementation of the Translator concept. It does no translation.

Synopsis

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

template<typename T> 
struct id_translator {
  // types
  typedef T internal_type;
  typedef T external_type;

  // public member functions
  boost::optional< T > get_value(const T &);
  boost::optional< T > put_value(const T &);
};

Description

id_translator public member functions

  1. boost::optional< T > get_value(const T & v);
  2. boost::optional< T > put_value(const T & v);

PrevUpHomeNext