My Project
Opm::ParseContext Class Reference

Public Member Functions

 ParseContext (InputError::Action default_action)
 
 ParseContext (const std::vector< std::pair< std::string, InputError::Action >> &initial)
 
void handleError (const std::string &errorKey, const std::string &msg, const std::optional< KeywordLocation > &location, ErrorGuard &errors) const
 
void handleUnknownKeyword (const std::string &keyword, const std::optional< KeywordLocation > &location, ErrorGuard &errors) const
 
bool hasKey (const std::string &key) const
 
ParseContext withKey (const std::string &key, InputError::Action action=InputError::WARN) const
 
ParseContextwithKey (const std::string &key, InputError::Action action=InputError::WARN)
 
void updateKey (const std::string &key, InputError::Action action)
 
void update (InputError::Action action)
 
void update (const std::string &keyString, InputError::Action action)
 
void ignoreKeyword (const std::string &keyword)
 
InputError::Action get (const std::string &key) const
 
std::map< std::string, InputError::Action >::const_iterator begin () const
 
std::map< std::string, InputError::Action >::const_iterator end () const
 
void addKey (const std::string &key, InputError::Action default_action)
 

Static Public Attributes

static const std::string PARSE_EXTRA_RECORDS
 
static const std::string PARSE_UNKNOWN_KEYWORD
 
static const std::string PARSE_RANDOM_TEXT
 
static const std::string PARSE_RANDOM_SLASH
 
static const std::string PARSE_MISSING_DIMS_KEYWORD
 
static const std::string PARSE_EXTRA_DATA
 
static const std::string PARSE_MISSING_INCLUDE
 
static const std::string PARSE_INVALID_KEYWORD_COMBINATION
 
static const std::string RUNSPEC_NUMWELLS_TOO_LARGE
 Dynamic number of wells exceeds maximum declared in RUNSPEC keyword WELLDIMS (item 1).
 
static const std::string RUNSPEC_CONNS_PER_WELL_TOO_LARGE
 Dynamic number of connections per well exceeds maximum declared in RUNSPEC keyword WELLDIMS (item 2).
 
static const std::string RUNSPEC_NUMGROUPS_TOO_LARGE
 Dynamic number of groups exceeds maximum number declared in RUNSPEC keyword WELLDIMS (item 3).
 
static const std::string RUNSPEC_GROUPSIZE_TOO_LARGE
 Dynamic group size exceeds maximum number declared in RUNSPEC keyword WELLDIMS (item 4).
 
static const std::string PARSE_LONG_KEYWORD
 
static const std::string UNIT_SYSTEM_MISMATCH
 
static const std::string UNSUPPORTED_INITIAL_THPRES
 
static const std::string UNSUPPORTED_TERMINATE_IF_BHP
 
static const std::string UDQ_PARSE_ERROR
 
static const std::string UDQ_TYPE_ERROR
 
static const std::string INTERNAL_ERROR_UNINITIALIZED_THPRES
 
static const std::string PARSE_MISSING_SECTIONS
 
static const std::string PARSE_WGNAME_SPACE
 
static const std::string SUMMARY_UNKNOWN_WELL
 
static const std::string SUMMARY_UNKNOWN_GROUP
 
static const std::string SUMMARY_UNKNOWN_NODE
 
static const std::string SUMMARY_UNKNOWN_AQUIFER
 
static const std::string SUMMARY_UNHANDLED_KEYWORD
 
static const std::string SUMMARY_UNDEFINED_UDQ
 
static const std::string SUMMARY_UDQ_MISSING_UNIT
 
static const std::string SUMMARY_INVALID_FIPNUM
 
static const std::string SUMMARY_EMPTY_REGION
 
static const std::string SUMMARY_REGION_TOO_LARGE
 
static const std::string SCHEDULE_INVALID_NAME
 
static const std::string ACTIONX_ILLEGAL_KEYWORD
 
static const std::string RPT_MIXED_STYLE
 
static const std::string RPT_UNKNOWN_MNEMONIC
 
static const std::string SCHEDULE_GROUP_ERROR
 
static const std::string SCHEDULE_IGNORED_GUIDE_RATE
 
static const std::string SCHEDULE_COMPSEGS_INVALID
 
static const std::string SCHEDULE_COMPSEGS_NOT_SUPPORTED
 
static const std::string SIMULATOR_KEYWORD_NOT_SUPPORTED
 
static const std::string SIMULATOR_KEYWORD_NOT_SUPPORTED_CRITICAL
 
static const std::string SIMULATOR_KEYWORD_ITEM_NOT_SUPPORTED
 
static const std::string SIMULATOR_KEYWORD_ITEM_NOT_SUPPORTED_CRITICAL
 

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