PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
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.