creativity  v1.3.0
Agent-based model of creativity and piracy
Info.hpp
1 #pragma once
2 #include "creativity/cmdargs/CmdArgs.hpp"
3 #include <eris/types.hpp>
4 #include <limits>
5 #include <string>
6 #include <vector>
7 
8 namespace boost { namespace program_options { class variables_map; } }
9 
10 namespace creativity { namespace cmdargs {
11 
13 class Info : public CmdArgs {
14  public:
16  unsigned int output_precision = 6;
17 
19  std::string input;
20 
22  bool memory_xz = false;
23 
27  std::string tmpdir;
28 
30  unsigned int thin_periods = 10;
31 
33  bool show_cli_args = false;
34 
36  virtual std::string usage() const override;
37 
39  virtual std::string help() const override;
40 
42  virtual std::string versionSuffix() const override;
43 
44  protected:
46  virtual void addOptions() override;
47 
49  virtual void postParse(boost::program_options::variables_map &vars) override;
50 
51 };
52 
53 }}
This class handles command line argument parsing.
Definition: CmdArgs.hpp:31
Definition: CLI.hpp:5
Primary namespace for all Creativity library code.
Definition: config.hpp:4
std::string tmpdir
If memory_xz is false, decompress files into temporary files in this directory instead of into the sa...
Definition: Info.hpp:27
CmdArgs subclass for creativity-info script to display simulation information.
Definition: Info.hpp:13
std::string input
The input file to load data from.
Definition: Info.hpp:19