21#ifndef OPM_TABLE_COLUMN_HPP
22#define OPM_TABLE_COLUMN_HPP
27#include <opm/input/eclipse/EclipseState/Tables/ColumnSchema.hpp>
28#include <opm/input/eclipse/EclipseState/Tables/TableIndex.hpp>
42 const std::string& name()
const;
43 void assertOrder(
double value1 ,
double value2,
size_t index,
44 const std::string& tableName)
const;
45 void addValue(
double,
const std::string& tableName);
46 void addDefault(
const std::string& tableName);
47 void updateValue(
size_t index,
double value,
const std::string& tableName);
48 double operator[](
size_t index)
const;
49 bool defaultApplied(
size_t index)
const;
50 bool hasDefault( )
const;
55 bool inRange(
double arg )
const;
63 void applyDefaults(
const TableColumn& argColumn,
const std::string& tableName);
64 void assertUnitRange()
const;
67 std::vector<double> vectorCopy()
const;
68 std::vector<double>::const_iterator begin()
const;
69 std::vector<double>::const_iterator end()
const;
73 template<
class Serializer>
79 serializer(m_default);
80 serializer(m_defaultCount);
84 void assertUpdate(
const std::string& tableName,
size_t index,
double value)
const;
85 void assertPrevious(
const std::string& tableName,
size_t index ,
double value)
const;
86 void assertNext(
const std::string& tableName,
size_t index ,
double value)
const;
90 std::vector<double> m_values;
91 std::vector<bool> m_default;
92 size_t m_defaultCount;
Definition ColumnSchema.hpp:31
Class for (de-)serializing.
Definition Serializer.hpp:91
Definition TableColumn.hpp:32
Definition TableIndex.hpp:36
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30