|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
Template base class used by PISM's option-processing classes. More...
#include <options.hh>
Inheritance diagram for pism::options::Option< T >: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.