20 #ifndef OPM_PROPERTYTREE_HEADER_INCLUDED
21 #define OPM_PROPERTYTREE_HEADER_INCLUDED
28 namespace property_tree {
45 void put(
const std::string& key,
const T& data);
48 T get(
const std::string& key)
const;
51 T get(
const std::string& key,
const T& defValue)
const;
55 std::optional<PropertyTree> get_child_optional(
const std::string& key)
const;
59 void write_json(std::ostream& os,
bool pretty)
const;
64 std::unique_ptr<boost::property_tree::ptree> tree_;
Definition: PropertyTree.hpp:37
Definition: PropertyTree.hpp:29
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:26