/usr/include/boost/property_tree
NameSizeModeActions
detail/-0755rm
json_parser/-0755rm
exceptions.hpp29380644editdlrm
id_translator.hpp16020644editdlrm
info_parser.hpp57630644editdlrm
ini_parser.hpp129970644editdlrm
json_parser.hpp59280644editdlrm
ptree.hpp208670644editdlrm
ptree_fwd.hpp46350644editdlrm
ptree_serialization.hpp52850644editdlrm
stream_translator.hpp71270644editdlrm
string_path.hpp108220644editdlrm
xml_parser.hpp64530644editdlrm
Edit: /usr/include/boost/property_tree/id_translator.hpp (1602B)
// ---------------------------------------------------------------------------- // Copyright (C) 2009 Sebastian Redl // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // For more information, see www.boost.org // ---------------------------------------------------------------------------- #ifndef BOOST_PROPERTY_TREE_ID_TRANSLATOR_HPP_INCLUDED #define BOOST_PROPERTY_TREE_ID_TRANSLATOR_HPP_INCLUDED #include #include #include namespace boost { namespace property_tree { /// Simple implementation of the Translator concept. It does no translation. template struct id_translator { typedef T internal_type; typedef T external_type; boost::optional get_value(const T &v) { return v; } boost::optional put_value(const T &v) { return v; } }; // This is the default translator whenever you get two equal types. template struct translator_between { typedef id_translator type; }; // A more specific specialization for std::basic_string. Otherwise, // stream_translator's specialization wins. template struct translator_between< std::basic_string, std::basic_string > { typedef id_translator< std::basic_string > type; }; }} #endif