PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Enumerations | Functions
pism_options.hh File Reference
#include <memory>
#include <set>
#include <string>
#include <vector>
#include "pism/util/options.hh"

Go to the source code of this file.

Classes

class  pism::options::String
 
class  pism::options::Keyword
 
class  pism::options::Integer
 
class  pism::options::IntegerList
 
class  pism::options::Real
 
class  pism::options::RealList
 

Namespaces

 pism
 
 pism::units
 
 pism::options
 Utilities for processing command-line options.
 

Enumerations

enum  pism::options::ArgumentFlag { pism::options::ALLOW_EMPTY , pism::options::DONT_ALLOW_EMPTY }
 

Functions

void pism::show_usage (const Logger &log, const std::string &execname, const std::string &usage)
 Print a usage message. More...
 
bool pism::show_usage_check_req_opts (const Logger &log, const std::string &execname, const std::vector< std::string > &required_options, const std::string &usage)
 In a single call a driver program can provide a usage string to the user and check if required options are given, and if not, end. More...
 
bool pism::options::Bool (const std::string &option, const std::string &description)
 
void pism::options::deprecated (const std::string &old_name, const std::string &new_name)
 Stop if an option old_name is set, printing a message that new_name should be used instead. More...
 
void pism::options::ignored (const Logger &log, const std::string &name)
 Print a warning telling the user that an option was ignored. More...
 
void pism::options::forbidden (const std::string &name)
 Stop if an option name is set. More...