#include <Deck.hpp>

Inheritance diagram for Opm::Deck:
Inheritance graph

Public Member Functions

 Deck ()
 
bool hasKeyword (DeckKeywordConstPtr keyword) const
 
bool hasKeyword (const std::string &keyword) const
 
void addKeyword (DeckKeywordConstPtr keyword)
 
DeckKeywordConstPtr getKeyword (const std::string &keyword, size_t index) const
 
DeckKeywordConstPtr getKeyword (const std::string &keyword) const
 
DeckKeywordConstPtr getKeyword (size_t index) const
 
size_t getKeywordIndex (DeckKeywordConstPtr keyword) const
 
size_t numKeywords (const std::string &keyword) const
 
const std::vector
< DeckKeywordConstPtr > & 
getKeywordList (const std::string &keyword) const
 
size_t size () const
 
void initUnitSystem ()
 
std::shared_ptr< UnitSystemgetDefaultUnitSystem () const
 
std::shared_ptr< UnitSystemgetActiveUnitSystem () const
 
std::vector
< DeckKeywordConstPtr >
::const_iterator 
begin () const
 
std::vector
< DeckKeywordConstPtr >
::const_iterator 
end () const
 
template<class Keyword >
bool hasKeyword () const
 
template<class Keyword >
DeckKeywordConstPtr getKeyword (size_t index) const
 
template<class Keyword >
DeckKeywordConstPtr getKeyword () const
 
template<class Keyword >
const std::vector
< DeckKeywordConstPtr > & 
getKeywordList () const
 

Protected Attributes

std::shared_ptr< UnitSystemm_defaultUnits
 
std::shared_ptr< UnitSystemm_activeUnits
 

Constructor & Destructor Documentation

Opm::Deck::Deck ( )

Member Function Documentation

void Opm::Deck::addKeyword ( DeckKeywordConstPtr  keyword)
std::vector<DeckKeywordConstPtr>::const_iterator Opm::Deck::begin ( ) const
std::vector<DeckKeywordConstPtr>::const_iterator Opm::Deck::end ( ) const
std::shared_ptr<UnitSystem> Opm::Deck::getActiveUnitSystem ( ) const
std::shared_ptr<UnitSystem> Opm::Deck::getDefaultUnitSystem ( ) const
DeckKeywordConstPtr Opm::Deck::getKeyword ( const std::string &  keyword,
size_t  index 
) const
DeckKeywordConstPtr Opm::Deck::getKeyword ( const std::string &  keyword) const
DeckKeywordConstPtr Opm::Deck::getKeyword ( size_t  index) const
template<class Keyword >
DeckKeywordConstPtr Opm::Deck::getKeyword ( size_t  index) const
inline
template<class Keyword >
DeckKeywordConstPtr Opm::Deck::getKeyword ( ) const
inline
size_t Opm::Deck::getKeywordIndex ( DeckKeywordConstPtr  keyword) const
const std::vector<DeckKeywordConstPtr>& Opm::Deck::getKeywordList ( const std::string &  keyword) const
template<class Keyword >
const std::vector<DeckKeywordConstPtr>& Opm::Deck::getKeywordList ( ) const
inline
bool Opm::Deck::hasKeyword ( const std::string &  keyword) const
template<class Keyword >
bool Opm::Deck::hasKeyword ( ) const
inline
void Opm::Deck::initUnitSystem ( )
size_t Opm::Deck::numKeywords ( const std::string &  keyword) const
size_t Opm::Deck::size ( ) const

Member Data Documentation

std::shared_ptr<UnitSystem> Opm::Deck::m_activeUnits
protected
std::shared_ptr<UnitSystem> Opm::Deck::m_defaultUnits
protected

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