Opm::KeywordValidation::KeywordValidator Class Reference

#include <KeywordValidation.hpp>

Public Member Functions

 KeywordValidator (const UnsupportedKeywords &keywords, const PartiallySupportedKeywords< std::string > &string_items, const PartiallySupportedKeywords< int > &int_items, const PartiallySupportedKeywords< double > &double_items, const std::unordered_map< std::string, std::function< void(const DeckKeyword &keyword, std::vector< ValidationError > &errors)> > &special_validation)
 
void validateDeck (const Deck &deck, const ParseContext &parse_context, const bool treat_critical_as_noncritical, ErrorGuard &error_guard) const
 
void validateDeckKeyword (const DeckKeyword &keyword, std::vector< ValidationError > &errors) const
 

Constructor & Destructor Documentation

◆ KeywordValidator()

Opm::KeywordValidation::KeywordValidator::KeywordValidator ( const UnsupportedKeywords keywords,
const PartiallySupportedKeywords< std::string > &  string_items,
const PartiallySupportedKeywords< int > &  int_items,
const PartiallySupportedKeywords< double > &  double_items,
const std::unordered_map< std::string, std::function< void(const DeckKeyword &keyword, std::vector< ValidationError > &errors)>  ,
special_validation 
)
inline

Member Function Documentation

◆ validateDeck()

void Opm::KeywordValidation::KeywordValidator::validateDeck ( const Deck &  deck,
const ParseContext &  parse_context,
const bool  treat_critical_as_noncritical,
ErrorGuard &  error_guard 
) const

◆ validateDeckKeyword()

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

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