PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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.