Added count() method to Section class

This commit is contained in:
Joakim Hove
2014-07-05 13:31:40 +02:00
parent 1669138bf6
commit 29df8e9f89
3 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ namespace Opm {
}
}
size_t Section::count(const std::string& keyword) const {
return m_keywords.numKeywords( keyword );
}
const std::string& Section::name() const {
return m_name;
}