remove accessors in TableSchema added for external serialization
This commit is contained in:
parent
83f78c5918
commit
641631d991
@ -37,8 +37,6 @@ namespace Opm {
|
||||
const ColumnSchema& getColumn( size_t columnIndex ) const;
|
||||
bool hasColumn(const std::string&) const;
|
||||
|
||||
const OrderedMap<std::string, ColumnSchema>& getColumns() const;
|
||||
|
||||
/* Number of columns */
|
||||
size_t size() const;
|
||||
|
||||
|
@ -47,11 +47,7 @@ namespace Opm {
|
||||
return m_columns.count( name ) > 0;
|
||||
}
|
||||
|
||||
const OrderedMap<std::string, ColumnSchema>& TableSchema::getColumns() const {
|
||||
return m_columns;
|
||||
}
|
||||
|
||||
bool TableSchema::operator==(const TableSchema& data) const {
|
||||
return this->getColumns() == data.getColumns();
|
||||
return this->m_columns == data.m_columns;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user