Opm::RawConsts Namespace Reference

Consts used in the non semantic, raw parsing of the eclipse file. More...

Classes

struct  is_quote
 
struct  is_separator
 

Variables

const char slash = '/'
 
const char quote = '\''
 
const std::string include = "INCLUDE"
 
const std::string end = "END"
 
const std::string endinclude = "ENDINC"
 
const std::string paths = "PATHS"
 
const std::string pyinput = "PYINPUT"
 
const unsigned int maxKeywordLength = 8
 
constexpr bool sep_table [128]
 
constexpr bool q_table [128]
 

Detailed Description

Consts used in the non semantic, raw parsing of the eclipse file.

Variable Documentation

◆ end

const std::string Opm::RawConsts::end = "END"

◆ endinclude

const std::string Opm::RawConsts::endinclude = "ENDINC"

◆ include

const std::string Opm::RawConsts::include = "INCLUDE"

◆ maxKeywordLength

const unsigned int Opm::RawConsts::maxKeywordLength = 8

◆ paths

const std::string Opm::RawConsts::paths = "PATHS"

◆ pyinput

const std::string Opm::RawConsts::pyinput = "PYINPUT"

◆ q_table

constexpr bool Opm::RawConsts::q_table[128]
constexpr
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
}

Referenced by Opm::RawConsts::is_quote::operator()().

◆ quote

const char Opm::RawConsts::quote = '\''

◆ sep_table

constexpr bool Opm::RawConsts::sep_table[128]
constexpr
Initial value:
= {
0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
}

Referenced by Opm::RawConsts::is_separator::operator()().

◆ slash

const char Opm::RawConsts::slash = '/'