PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ keys()

std::set< std::string > pism::Vars::keys ( ) const

Returns the set of keys (variable names) in the dictionary.

Provides one (short) name per variable.

This means that one can safely iterate over these keys, reading, writing, displaying or de-allocating variables (without worrying that a variable will get written or de-allocated twice).

Definition at line 204 of file Vars.cc.

References m_variables, and m_variables_shared.