Added hasColumn() method.

This commit is contained in:
Joakim Hove
2016-01-04 19:31:42 +01:00
parent 6cff4d5aae
commit 356958309c
4 changed files with 9 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ namespace Opm {
void addRow( const std::vector<double>& row);
const TableColumn& getColumn(const std::string &name) const;
const TableColumn& getColumn(size_t colIdx) const;
bool hasColumn(const std::string& name) const;
TableColumn& getColumn(const std::string &name);
TableColumn& getColumn(size_t colIdx);