#include <DeckSection.hpp>

Inheritance diagram for Opm::REGIONSSection:
Inheritance graph

Public Types

typedef std::vector< DeckKeyword >::const_iterator const_iterator
 

Public Member Functions

 REGIONSSection (const Deck &deck)
 
const std::stringname () const
 
const UnitSystemunitSystem () const
 
bool hasKeyword (const DeckKeyword &keyword) const
 
bool hasKeyword (const std::string &keyword) const
 
template<class Keyword >
bool hasKeyword () const
 
const DeckKeywordgetKeyword (const std::string &keyword, size_t index) const
 
const DeckKeywordgetKeyword (const std::string &keyword) const
 
const DeckKeywordgetKeyword (size_t index) const
 
DeckKeywordgetKeyword (size_t index)
 
template<class Keyword >
const DeckKeywordgetKeyword () const
 
template<class Keyword >
const DeckKeywordgetKeyword (size_t index) const
 
template<class Keyword >
std::size_t count () const
 
size_t count (const std::string &keyword) const
 
const std::vector< const DeckKeyword * > getKeywordList (const std::string &keyword) const
 
template<class Keyword >
const std::vector< const DeckKeyword * > getKeywordList () const
 
size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 

Static Public Member Functions

static bool hasRUNSPEC (const Deck &)
 
static bool hasGRID (const Deck &)
 
static bool hasEDIT (const Deck &)
 
static bool hasPROPS (const Deck &)
 
static bool hasREGIONS (const Deck &)
 
static bool hasSOLUTION (const Deck &)
 
static bool hasSUMMARY (const Deck &)
 
static bool hasSCHEDULE (const Deck &)
 
static bool checkSectionTopology (const Deck &deck, const Parser &, bool ensureKeywordSectionAffiliation=false)
 

Protected Member Functions

void add (const DeckKeyword *, const_iterator, const_iterator)
 
const std::vector< size_t > & offsets (const std::string &) const
 
void init (const_iterator, const_iterator)
 

Member Typedef Documentation

◆ const_iterator

typedef std::vector<DeckKeyword>::const_iterator Opm::DeckView::const_iterator

Constructor & Destructor Documentation

◆ REGIONSSection()

Opm::REGIONSSection::REGIONSSection ( const Deck deck)
inlineexplicit

Member Function Documentation

◆ add()

void Opm::DeckView::add ( const DeckKeyword ,
const_iterator  ,
const_iterator   
)
protectedinherited

◆ begin()

const_iterator Opm::DeckView::begin ( ) const
inherited

◆ checkSectionTopology()

static bool Opm::DeckSection::checkSectionTopology ( const Deck deck,
const Parser ,
bool  ensureKeywordSectionAffiliation = false 
)
staticinherited

◆ count() [1/2]

template<class Keyword >
std::size_t Opm::DeckView::count ( ) const
inlineinherited

References Opm::DeckView::count().

Referenced by Opm::DeckView::count().

◆ count() [2/2]

size_t Opm::DeckView::count ( const std::string keyword) const
inherited

◆ end()

const_iterator Opm::DeckView::end ( ) const
inherited

◆ getKeyword() [1/6]

template<class Keyword >
const DeckKeyword & Opm::DeckView::getKeyword ( ) const
inlineinherited

◆ getKeyword() [2/6]

const DeckKeyword & Opm::DeckView::getKeyword ( const std::string keyword) const
inherited

◆ getKeyword() [3/6]

const DeckKeyword & Opm::DeckView::getKeyword ( const std::string keyword,
size_t  index 
) const
inherited

◆ getKeyword() [4/6]

DeckKeyword & Opm::DeckView::getKeyword ( size_t  index)
inherited

◆ getKeyword() [5/6]

const DeckKeyword & Opm::DeckView::getKeyword ( size_t  index) const
inherited

◆ getKeyword() [6/6]

template<class Keyword >
const DeckKeyword & Opm::DeckView::getKeyword ( size_t  index) const
inlineinherited

◆ getKeywordList() [1/2]

template<class Keyword >
const std::vector< const DeckKeyword * > Opm::DeckView::getKeywordList ( ) const
inlineinherited

◆ getKeywordList() [2/2]

const std::vector< const DeckKeyword * > Opm::DeckView::getKeywordList ( const std::string keyword) const
inherited

◆ hasEDIT()

static bool Opm::DeckSection::hasEDIT ( const Deck )
staticinherited

◆ hasGRID()

static bool Opm::DeckSection::hasGRID ( const Deck )
staticinherited

◆ hasKeyword() [1/3]

template<class Keyword >
bool Opm::DeckView::hasKeyword ( ) const
inlineinherited

◆ hasKeyword() [2/3]

bool Opm::DeckView::hasKeyword ( const DeckKeyword keyword) const
inherited

◆ hasKeyword() [3/3]

bool Opm::DeckView::hasKeyword ( const std::string keyword) const
inherited

◆ hasPROPS()

static bool Opm::DeckSection::hasPROPS ( const Deck )
staticinherited

◆ hasREGIONS()

static bool Opm::DeckSection::hasREGIONS ( const Deck )
staticinherited

◆ hasRUNSPEC()

static bool Opm::DeckSection::hasRUNSPEC ( const Deck )
staticinherited

◆ hasSCHEDULE()

static bool Opm::DeckSection::hasSCHEDULE ( const Deck )
staticinherited

◆ hasSOLUTION()

static bool Opm::DeckSection::hasSOLUTION ( const Deck )
staticinherited

◆ hasSUMMARY()

static bool Opm::DeckSection::hasSUMMARY ( const Deck )
staticinherited

◆ init()

void Opm::DeckView::init ( const_iterator  ,
const_iterator   
)
protectedinherited

Referenced by Opm::Deck::serializeOp().

◆ name()

const std::string & Opm::DeckSection::name ( ) const
inherited

◆ offsets()

const std::vector< size_t > & Opm::DeckView::offsets ( const std::string ) const
protectedinherited

◆ size()

size_t Opm::DeckView::size ( ) const
inherited

◆ unitSystem()

const UnitSystem & Opm::DeckSection::unitSystem ( ) const
inherited

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