20#ifndef OPM_PROPERTYTREE_HEADER_INCLUDED
21#define OPM_PROPERTYTREE_HEADER_INCLUDED
28namespace 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 blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242