PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
Template base class used by PISM's option-processing classes. More...
#include <options.hh>
Public Member Functions | |
Option () | |
bool | is_set () const |
T | value () const |
operator T () const | |
const T * | operator-> () const |
T * | operator-> () |
bool | operator== (const T &other) const |
Protected Member Functions | |
void | set (T new_value, bool new_flag) |
Protected Attributes | |
T | m_value |
bool | m_is_set |
Template base class used by PISM's option-processing classes.
(Ensures API consistency and helps code reuse.)
Definition at line 30 of file options.hh.