Opm::Parameters::Parameter Struct Reference

A struct holding the key-value pair for a parameter. More...

#include <parametersystem.hpp>

Public Member Functions

 Parameter (const std::string &k, const std::string &v)
 
bool operator== (const Parameter &setting) const
 
bool operator!= (const Parameter &setting) const
 

Public Attributes

std::string key
 
std::string value
 

Friends

std::ostream & operator<< (std::ostream &os, const Parameter &param)
 

Detailed Description

A struct holding the key-value pair for a parameter.

Constructor & Destructor Documentation

◆ Parameter()

Opm::Parameters::Parameter::Parameter ( const std::string &  k,
const std::string &  v 
)
inline

Member Function Documentation

◆ operator!=()

bool Opm::Parameters::Parameter::operator!= ( const Parameter setting) const
inline

◆ operator==()

bool Opm::Parameters::Parameter::operator== ( const Parameter setting) const
inline

References key, and value.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Parameter param 
)
friend

Member Data Documentation

◆ key

std::string Opm::Parameters::Parameter::key

Referenced by operator==().

◆ value

std::string Opm::Parameters::Parameter::value

Referenced by operator==().


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