remove accessors in SimpleTable added for external serialization
This commit is contained in:
@@ -42,9 +42,6 @@ namespace Opm {
|
||||
bool jfunc);
|
||||
explicit SimpleTable( TableSchema );
|
||||
|
||||
const TableSchema& schema() const;
|
||||
const OrderedMap<std::string, TableColumn>& columns() const;
|
||||
bool jfunc() const;
|
||||
void addColumns();
|
||||
void init(const DeckItem& deckItem );
|
||||
size_t numColumns() const;
|
||||
|
||||
@@ -51,20 +51,6 @@ namespace Opm {
|
||||
}
|
||||
|
||||
|
||||
const TableSchema& SimpleTable::schema() const {
|
||||
return m_schema;
|
||||
}
|
||||
|
||||
|
||||
const OrderedMap<std::string, TableColumn>& SimpleTable::columns() const {
|
||||
return m_columns;
|
||||
}
|
||||
|
||||
|
||||
bool SimpleTable::jfunc() const {
|
||||
return m_jfunc;
|
||||
}
|
||||
|
||||
void SimpleTable::addRow( const std::vector<double>& row) {
|
||||
if (row.size() == numColumns()) {
|
||||
for (size_t colIndex = 0; colIndex < numColumns(); colIndex++) {
|
||||
@@ -184,8 +170,8 @@ namespace Opm {
|
||||
|
||||
|
||||
bool SimpleTable::operator==(const SimpleTable& data) const {
|
||||
return this->schema() == data.schema() &&
|
||||
this->columns() == data.columns() &&
|
||||
this->jfunc() == data.jfunc();
|
||||
return this->m_schema == data.m_schema &&
|
||||
this->m_columns == data.m_columns &&
|
||||
this->m_jfunc == data.m_jfunc;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user