Opm::KeywordValidation Namespace Reference

Classes

class  allow_values
 
class  KeywordValidator
 
struct  PartiallySupportedKeywordProperties
 
struct  UnsupportedKeywordProperties
 
struct  ValidationError
 

Typedefs

using UnsupportedKeywords = std::map< std::string, UnsupportedKeywordProperties >
 
template<typename T >
using PartiallySupportedKeywordItems = std::map< std::size_t, PartiallySupportedKeywordProperties< T > >
 
template<typename T >
using PartiallySupportedKeywords = std::map< std::string, PartiallySupportedKeywordItems< T > >
 

Functions

std::string get_error_report (const std::vector< ValidationError > &errors, const bool include_noncritical, const bool include_critical)
 
void validateBRINE (const DeckKeyword &keyword, std::vector< ValidationError > &errors)
 
std::unordered_map< std::string, std::function< void(const DeckKeyword &keyword, std::vector< KeywordValidation::ValidationError > &errors)> > specialValidation ()
 

Typedef Documentation

◆ PartiallySupportedKeywordItems

template<typename T >
using Opm::KeywordValidation::PartiallySupportedKeywordItems = typedef std::map<std::size_t, PartiallySupportedKeywordProperties<T> >

◆ PartiallySupportedKeywords

template<typename T >
using Opm::KeywordValidation::PartiallySupportedKeywords = typedef std::map<std::string, PartiallySupportedKeywordItems<T> >

◆ UnsupportedKeywords

Function Documentation

◆ get_error_report()

std::string Opm::KeywordValidation::get_error_report ( const std::vector< ValidationError > &  errors,
const bool  include_noncritical,
const bool  include_critical 
)

◆ specialValidation()

std::unordered_map< std::string, std::function< void(const DeckKeyword &keyword, std::vector< KeywordValidation::ValidationError > &errors)> > Opm::KeywordValidation::specialValidation ( )

References validateBRINE().

◆ validateBRINE()

void Opm::KeywordValidation::validateBRINE ( const DeckKeyword &  keyword,
std::vector< ValidationError > &  errors 
)

Referenced by specialValidation().