My Project
Opm::PropertyTree Class Reference

Public Member Functions

 PropertyTree (const std::string &jsonFile)
 
 PropertyTree (const PropertyTree &tree)
 
template<class T >
void put (const std::string &key, const T &data)
 
template<class T >
get (const std::string &key) const
 
template<class T >
get (const std::string &key, const T &defValue) const
 
PropertyTree get_child (const std::string &key) const
 
std::optional< PropertyTreeget_child_optional (const std::string &key) const
 
PropertyTreeoperator= (const PropertyTree &tree)
 
void write_json (std::ostream &os, bool pretty) const
 

Protected Member Functions

 PropertyTree (const boost::property_tree::ptree &tree)
 

Protected Attributes

std::unique_ptr< boost::property_tree::ptreetree_
 

The documentation for this class was generated from the following files: