#include <O.hpp>

Inheritance diagram for Opm::ParserKeywords::OPTIONS:
Inheritance graph

Classes

class  ITEM1
 
class  ITEM10
 
class  ITEM100
 
class  ITEM101
 
class  ITEM102
 
class  ITEM103
 
class  ITEM104
 
class  ITEM105
 
class  ITEM106
 
class  ITEM107
 
class  ITEM108
 
class  ITEM109
 
class  ITEM11
 
class  ITEM110
 
class  ITEM111
 
class  ITEM112
 
class  ITEM113
 
class  ITEM114
 
class  ITEM115
 
class  ITEM116
 
class  ITEM117
 
class  ITEM118
 
class  ITEM119
 
class  ITEM12
 
class  ITEM120
 
class  ITEM121
 
class  ITEM122
 
class  ITEM123
 
class  ITEM124
 
class  ITEM125
 
class  ITEM126
 
class  ITEM127
 
class  ITEM128
 
class  ITEM129
 
class  ITEM13
 
class  ITEM130
 
class  ITEM131
 
class  ITEM132
 
class  ITEM133
 
class  ITEM134
 
class  ITEM135
 
class  ITEM136
 
class  ITEM137
 
class  ITEM138
 
class  ITEM139
 
class  ITEM14
 
class  ITEM140
 
class  ITEM141
 
class  ITEM142
 
class  ITEM143
 
class  ITEM144
 
class  ITEM145
 
class  ITEM146
 
class  ITEM147
 
class  ITEM148
 
class  ITEM149
 
class  ITEM15
 
class  ITEM150
 
class  ITEM151
 
class  ITEM152
 
class  ITEM153
 
class  ITEM154
 
class  ITEM155
 
class  ITEM156
 
class  ITEM157
 
class  ITEM158
 
class  ITEM159
 
class  ITEM16
 
class  ITEM160
 
class  ITEM161
 
class  ITEM162
 
class  ITEM163
 
class  ITEM164
 
class  ITEM165
 
class  ITEM166
 
class  ITEM167
 
class  ITEM168
 
class  ITEM169
 
class  ITEM17
 
class  ITEM170
 
class  ITEM171
 
class  ITEM172
 
class  ITEM173
 
class  ITEM174
 
class  ITEM175
 
class  ITEM176
 
class  ITEM177
 
class  ITEM178
 
class  ITEM179
 
class  ITEM18
 
class  ITEM180
 
class  ITEM181
 
class  ITEM182
 
class  ITEM183
 
class  ITEM184
 
class  ITEM185
 
class  ITEM186
 
class  ITEM187
 
class  ITEM188
 
class  ITEM189
 
class  ITEM19
 
class  ITEM190
 
class  ITEM191
 
class  ITEM192
 
class  ITEM193
 
class  ITEM194
 
class  ITEM195
 
class  ITEM196
 
class  ITEM197
 
class  ITEM2
 
class  ITEM20
 
class  ITEM21
 
class  ITEM22
 
class  ITEM23
 
class  ITEM24
 
class  ITEM25
 
class  ITEM26
 
class  ITEM27
 
class  ITEM28
 
class  ITEM29
 
class  ITEM3
 
class  ITEM30
 
class  ITEM31
 
class  ITEM32
 
class  ITEM33
 
class  ITEM34
 
class  ITEM35
 
class  ITEM36
 
class  ITEM37
 
class  ITEM38
 
class  ITEM39
 
class  ITEM4
 
class  ITEM40
 
class  ITEM41
 
class  ITEM42
 
class  ITEM43
 
class  ITEM44
 
class  ITEM45
 
class  ITEM46
 
class  ITEM47
 
class  ITEM48
 
class  ITEM49
 
class  ITEM5
 
class  ITEM50
 
class  ITEM51
 
class  ITEM52
 
class  ITEM53
 
class  ITEM54
 
class  ITEM55
 
class  ITEM56
 
class  ITEM57
 
class  ITEM58
 
class  ITEM59
 
class  ITEM6
 
class  ITEM60
 
class  ITEM61
 
class  ITEM62
 
class  ITEM63
 
class  ITEM64
 
class  ITEM65
 
class  ITEM66
 
class  ITEM67
 
class  ITEM68
 
class  ITEM69
 
class  ITEM7
 
class  ITEM70
 
class  ITEM71
 
class  ITEM72
 
class  ITEM73
 
class  ITEM74
 
class  ITEM75
 
class  ITEM76
 
class  ITEM77
 
class  ITEM78
 
class  ITEM79
 
class  ITEM8
 
class  ITEM80
 
class  ITEM81
 
class  ITEM82
 
class  ITEM83
 
class  ITEM84
 
class  ITEM85
 
class  ITEM86
 
class  ITEM87
 
class  ITEM88
 
class  ITEM89
 
class  ITEM9
 
class  ITEM90
 
class  ITEM91
 
class  ITEM92
 
class  ITEM93
 
class  ITEM94
 
class  ITEM95
 
class  ITEM96
 
class  ITEM97
 
class  ITEM98
 
class  ITEM99
 

Public Types

typedef std::set< std::stringDeckNameSet
 
typedef std::set< std::stringSectionNameSet
 

Public Member Functions

 OPTIONS ()
 
void setFixedSize (size_t keywordSize)
 
void setSizeType (ParserKeywordSizeEnum sizeType)
 
void setTableCollection (bool _isTableCollection)
 
void initSizeKeyword (const std::string &sizeKeyword, const std::string &sizeItem, int size_shift)
 
bool hasMatchRegex () const
 
void setMatchRegex (const std::string &deckNameRegexp)
 
bool matches (const string_view &) const
 
bool hasDimension () const
 
void addRecord (ParserRecord)
 
void addDataRecord (ParserRecord)
 
const ParserRecordgetRecord (size_t recordIndex) const
 
ParserRecordgetRecord (size_t recordIndex)
 
std::vector< ParserRecord >::const_iterator begin () const
 
std::vector< ParserRecord >::const_iterator end () const
 
const std::string className () const
 
const std::stringgetName () const
 
size_t getFixedSize () const
 
bool hasFixedSize () const
 
bool isTableCollection () const
 
std::string getDescription () const
 
void setDescription (const std::string &description)
 
bool hasMultipleDeckNames () const
 
void clearDeckNames ()
 
void addDeckName (const std::string &deckName)
 
void setCodeEnd (const std::string &end)
 
const std::stringcodeEnd () const
 
DeckNameSet::const_iterator deckNamesBegin () const
 
DeckNameSet::const_iterator deckNamesEnd () const
 
void clearValidSectionNames ()
 
void addValidSectionName (const std::string &sectionName)
 
bool isValidSection (const std::string &sectionName) const
 
SectionNameSet::const_iterator validSectionNamesBegin () const
 
SectionNameSet::const_iterator validSectionNamesEnd () const
 
DeckKeyword parse (const ParseContext &parseContext, ErrorGuard &errors, RawKeyword &rawKeyword, UnitSystem &active_unitsystem, UnitSystem &default_unitsystem, const std::string &filename) const
 
enum ParserKeywordSizeEnum getSizeType () const
 
const KeywordSizegetKeywordSize () const
 
bool isDataKeyword () const
 
bool rawStringKeyword () const
 
bool isCodeKeyword () const
 
bool isAlternatingKeyword () const
 
bool isDoubleRecordKeyword () const
 
void setAlternatingKeyword (bool alternating)
 
void setDoubleRecordsKeyword (bool double_rec)
 
std::string createDeclaration (const std::string &indent) const
 
std::string createDecl () const
 
std::string createCode () const
 
bool operator== (const ParserKeyword &) const
 
bool operator!= (const ParserKeyword &) const
 

Static Public Member Functions

static bool validInternalName (const std::string &name)
 
static bool validDeckName (const string_view &name)
 

Static Public Attributes

static const std::string keywordName
 

Member Typedef Documentation

◆ DeckNameSet

typedef std::set<std::string> Opm::ParserKeyword::DeckNameSet
inherited

◆ SectionNameSet

typedef std::set<std::string> Opm::ParserKeyword::SectionNameSet
inherited

Constructor & Destructor Documentation

◆ OPTIONS()

Opm::ParserKeywords::OPTIONS::OPTIONS ( )

Member Function Documentation

◆ addDataRecord()

void Opm::ParserKeyword::addDataRecord ( ParserRecord  )
inherited

◆ addDeckName()

void Opm::ParserKeyword::addDeckName ( const std::string deckName)
inherited

◆ addRecord()

void Opm::ParserKeyword::addRecord ( ParserRecord  )
inherited

◆ addValidSectionName()

void Opm::ParserKeyword::addValidSectionName ( const std::string sectionName)
inherited

◆ begin()

std::vector< ParserRecord >::const_iterator Opm::ParserKeyword::begin ( ) const
inherited

◆ className()

const std::string Opm::ParserKeyword::className ( ) const
inherited

◆ clearDeckNames()

void Opm::ParserKeyword::clearDeckNames ( )
inherited

◆ clearValidSectionNames()

void Opm::ParserKeyword::clearValidSectionNames ( )
inherited

◆ codeEnd()

const std::string & Opm::ParserKeyword::codeEnd ( ) const
inherited

◆ createCode()

std::string Opm::ParserKeyword::createCode ( ) const
inherited

◆ createDecl()

std::string Opm::ParserKeyword::createDecl ( ) const
inherited

◆ createDeclaration()

std::string Opm::ParserKeyword::createDeclaration ( const std::string indent) const
inherited

◆ deckNamesBegin()

DeckNameSet::const_iterator Opm::ParserKeyword::deckNamesBegin ( ) const
inherited

◆ deckNamesEnd()

DeckNameSet::const_iterator Opm::ParserKeyword::deckNamesEnd ( ) const
inherited

◆ end()

std::vector< ParserRecord >::const_iterator Opm::ParserKeyword::end ( ) const
inherited

◆ getDescription()

std::string Opm::ParserKeyword::getDescription ( ) const
inherited

◆ getFixedSize()

size_t Opm::ParserKeyword::getFixedSize ( ) const
inherited

◆ getKeywordSize()

const KeywordSize & Opm::ParserKeyword::getKeywordSize ( ) const
inherited

◆ getName()

const std::string & Opm::ParserKeyword::getName ( ) const
inherited

◆ getRecord() [1/2]

ParserRecord & Opm::ParserKeyword::getRecord ( size_t  recordIndex)
inherited

◆ getRecord() [2/2]

const ParserRecord & Opm::ParserKeyword::getRecord ( size_t  recordIndex) const
inherited

◆ getSizeType()

enum ParserKeywordSizeEnum Opm::ParserKeyword::getSizeType ( ) const
inherited

◆ hasDimension()

bool Opm::ParserKeyword::hasDimension ( ) const
inherited

◆ hasFixedSize()

bool Opm::ParserKeyword::hasFixedSize ( ) const
inherited

◆ hasMatchRegex()

bool Opm::ParserKeyword::hasMatchRegex ( ) const
inherited

◆ hasMultipleDeckNames()

bool Opm::ParserKeyword::hasMultipleDeckNames ( ) const
inherited

◆ initSizeKeyword()

void Opm::ParserKeyword::initSizeKeyword ( const std::string sizeKeyword,
const std::string sizeItem,
int  size_shift 
)
inherited

◆ isAlternatingKeyword()

bool Opm::ParserKeyword::isAlternatingKeyword ( ) const
inherited

◆ isCodeKeyword()

bool Opm::ParserKeyword::isCodeKeyword ( ) const
inherited

◆ isDataKeyword()

bool Opm::ParserKeyword::isDataKeyword ( ) const
inherited

◆ isDoubleRecordKeyword()

bool Opm::ParserKeyword::isDoubleRecordKeyword ( ) const
inherited

◆ isTableCollection()

bool Opm::ParserKeyword::isTableCollection ( ) const
inherited

◆ isValidSection()

bool Opm::ParserKeyword::isValidSection ( const std::string sectionName) const
inherited

◆ matches()

bool Opm::ParserKeyword::matches ( const string_view ) const
inherited

◆ operator!=()

bool Opm::ParserKeyword::operator!= ( const ParserKeyword ) const
inherited

◆ operator==()

bool Opm::ParserKeyword::operator== ( const ParserKeyword ) const
inherited

◆ parse()

DeckKeyword Opm::ParserKeyword::parse ( const ParseContext parseContext,
ErrorGuard errors,
RawKeyword rawKeyword,
UnitSystem active_unitsystem,
UnitSystem default_unitsystem,
const std::string filename 
) const
inherited

◆ rawStringKeyword()

bool Opm::ParserKeyword::rawStringKeyword ( ) const
inherited

◆ setAlternatingKeyword()

void Opm::ParserKeyword::setAlternatingKeyword ( bool  alternating)
inherited

◆ setCodeEnd()

void Opm::ParserKeyword::setCodeEnd ( const std::string end)
inherited

◆ setDescription()

void Opm::ParserKeyword::setDescription ( const std::string description)
inherited

◆ setDoubleRecordsKeyword()

void Opm::ParserKeyword::setDoubleRecordsKeyword ( bool  double_rec)
inherited

◆ setFixedSize()

void Opm::ParserKeyword::setFixedSize ( size_t  keywordSize)
inherited

◆ setMatchRegex()

void Opm::ParserKeyword::setMatchRegex ( const std::string deckNameRegexp)
inherited

◆ setSizeType()

void Opm::ParserKeyword::setSizeType ( ParserKeywordSizeEnum  sizeType)
inherited

◆ setTableCollection()

void Opm::ParserKeyword::setTableCollection ( bool  _isTableCollection)
inherited

◆ validDeckName()

static bool Opm::ParserKeyword::validDeckName ( const string_view name)
staticinherited

◆ validInternalName()

static bool Opm::ParserKeyword::validInternalName ( const std::string name)
staticinherited

◆ validSectionNamesBegin()

SectionNameSet::const_iterator Opm::ParserKeyword::validSectionNamesBegin ( ) const
inherited

◆ validSectionNamesEnd()

SectionNameSet::const_iterator Opm::ParserKeyword::validSectionNamesEnd ( ) const
inherited

Member Data Documentation

◆ keywordName

const std::string Opm::ParserKeywords::OPTIONS::keywordName
static

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