#include <U.hpp>

Inheritance diagram for Opm::ParserKeywords::UDTDIMS:
Inheritance graph

Classes

class  MAX_DIMENSIONS
 
class  MAX_INTERPOLATION_POINTS
 
class  MAX_ROWS
 
class  MAX_TABLES
 

Public Types

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

Public Member Functions

 UDTDIMS ()
 
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

◆ UDTDIMS()

Opm::ParserKeywords::UDTDIMS::UDTDIMS ( )

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::UDTDIMS::keywordName
static

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