mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
This commit adds a new member function
template <typename T>
std::optional<std::vector<T>>
get_child_items_as_vector(const std::string& child) const;
which retrieves an array-type property value from a property tree.
Initially defined for 'int' and 'double', but could be extended to
'std::string', 'float', or other element types as needed.