Opm::Value< T > Class Template Reference

#include <Value.hpp>

Inheritance diagram for Opm::Value< T >:
Inheritance graph

Public Member Functions

 Value (const std::string &name)
 
 Value (const std::string &name, T value)
 
bool hasValue () const
 
getValue () const
 
void setValue (T value)
 
bool equal (const Value< T > &other) const
 

Constructor & Destructor Documentation

template<typename T>
Opm::Value< T >::Value ( const std::string &  name)
inline
template<typename T>
Opm::Value< T >::Value ( const std::string &  name,
value 
)
inline

Member Function Documentation

template<typename T>
bool Opm::Value< T >::equal ( const Value< T > &  other) const
inline

Will return true if both value instances have been initialized to the same value; or none of the values have been initialized. Does not compare names.

template<typename T>
T Opm::Value< T >::getValue ( ) const
inline
template<typename T>
bool Opm::Value< T >::hasValue ( ) const
inline
template<typename T>
void Opm::Value< T >::setValue ( value)
inline

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