From 8a2fb74f0dbdc0308c68846d10a4dc164a93fc8c Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Thu, 7 Nov 2013 12:27:45 +0100 Subject: [PATCH] Document limitations of type parameter for getValue --- opm/core/io/eclipse/EclipseGridParser.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opm/core/io/eclipse/EclipseGridParser.hpp b/opm/core/io/eclipse/EclipseGridParser.hpp index 27f2fb07..edf5c3fe 100644 --- a/opm/core/io/eclipse/EclipseGridParser.hpp +++ b/opm/core/io/eclipse/EclipseGridParser.hpp @@ -141,6 +141,9 @@ namespace Opm /// Returns a reference to a vector containing the values /// corresponding to the given keyword of a type only known /// indirectly (through a template) + /// + /// \tparam T Type of the keyword's value. Currently only int + /// and double are supported. template const std::vector& getValue(const std::string& keyword) const;