Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
common::ptreesupport Namespace Reference

ptree operator support More...

Functions

template<typename Valtype>
boost::property_tree::ptree & operator<< (boost::property_tree::ptree &opt, const Interval< Valtype > &i)
template<typename Valtype>
boost::property_tree::ptree & operator>> (boost::property_tree::ptree &ipt, Interval< Valtype > &i)
template<typename Valtype>
void ReadInterval (const boost::property_tree::ptree &pt, common::Interval< Valtype > &interval)

Detailed Description

ptree operator support

If you want to use these in a namespace that itself declares overloads of these operators, use using declarations to bring them into scope (e.g.: using common::ptreesupport::operator<<;); otherwise they will be hidden by the namespace's own overloads.