#include <TableContainer.hpp>

Public Types

using TableMap = std::map< size_t, std::shared_ptr< SimpleTable > >
 

Public Member Functions

 TableContainer ()
 
 TableContainer (size_t maxTables)
 
bool empty () const
 
size_t size () const
 
size_t max () const
 
const TableMaptables () const
 
void addTable (size_t tableNumber, std::shared_ptr< SimpleTable > table)
 
size_t hasTable (size_t tableNumber) const
 
const SimpleTablegetTable (size_t tableNumber) const
 
const SimpleTableoperator[] (size_t tableNumber) const
 
template<class TableType >
const TableType & getTable (size_t tableNumber) const
 
bool operator== (const TableContainer &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static TableContainer serializeObject ()
 

Member Typedef Documentation

◆ TableMap

using Opm::TableContainer::TableMap = std::map<size_t, std::shared_ptr<SimpleTable> >

Constructor & Destructor Documentation

◆ TableContainer() [1/2]

Opm::TableContainer::TableContainer ( )

◆ TableContainer() [2/2]

Opm::TableContainer::TableContainer ( size_t  maxTables)
explicit

Member Function Documentation

◆ addTable()

void Opm::TableContainer::addTable ( size_t  tableNumber,
std::shared_ptr< SimpleTable table 
)

◆ empty()

bool Opm::TableContainer::empty ( ) const

◆ getTable() [1/2]

const SimpleTable & Opm::TableContainer::getTable ( size_t  tableNumber) const

Referenced by getTable().

◆ getTable() [2/2]

template<class TableType >
const TableType & Opm::TableContainer::getTable ( size_t  tableNumber) const
inline

References getTable().

◆ hasTable()

size_t Opm::TableContainer::hasTable ( size_t  tableNumber) const

◆ max()

size_t Opm::TableContainer::max ( ) const

◆ operator==()

bool Opm::TableContainer::operator== ( const TableContainer data) const

◆ operator[]()

const SimpleTable & Opm::TableContainer::operator[] ( size_t  tableNumber) const

◆ serializeObject()

static TableContainer Opm::TableContainer::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::TableContainer::serializeOp ( Serializer serializer)
inline

◆ size()

size_t Opm::TableContainer::size ( ) const

◆ tables()

const TableMap & Opm::TableContainer::tables ( ) const

The documentation for this class was generated from the following file: