Loading [MathJax]/jax/input/TeX/config.js
OptionsShared.hpp
1 #pragma once
2 
3 ///=============================================================================
4 /// \file OptionsShared.hpp
5 /// \brief Declare the global and common options.
6 /// \author WK
7 /// \date 20.02.2017
8 ///=============================================================================
9 
10 #include <opals/fwd.hpp>
11 #include <opals/IOption.hpp>
12 #include <opals/OptionNames.hpp>
13 #include <opals/LogLevel.hpp>
14 
15 namespace opals {
16 
17  namespace opts
18  {
19  namespace glob
20  {
21  using Options =
22  IGroup< Names::_,
23  IValue< Names::temp, false, Path >,
24  IValue< Names::force_coord_ref_sys, false, bool >,
25  IValue< Names::coord_ref_sys, false, String >,
26  IValue< Names::coord_system, false, String >,
27  IValue< Names::points_in_memory, false, unsigned >,
28  IValue< Names::max_log_file_mb, false, unsigned >,
29  IValue< Names::oformat_grid, false, String >,
30  IValue< Names::oformat_vector, false, String >,
31  IValue< Names::oformat_tin, false, String >,
32  IValue< Names::oformat_lidar, false, String >,
33  IValue< Names::data_type_grid, false, RasterDataType >,
34  IValue< Names::create_option, false, Vector<String> >,
35  IValue< Names::postfix_z, false, String >,
36  IValue< Names::postfix_attribute, false, String >,
37  IValue< Names::postfix_min, false, String >,
38  IValue< Names::postfix_max, false, String >,
39  IValue< Names::postfix_range, false, String >,
40  IValue< Names::postfix_nmin, false, String >,
41  IValue< Names::postfix_nmax, false, String >,
42  IValue< Names::postfix_rms, false, String >,
43  IValue< Names::postfix_stdDev, false, String >,
44  IValue< Names::postfix_var, false, String >,
45  IValue< Names::postfix_stdDevMad, false, String >,
46  IValue< Names::postfix_mean, false, String >,
47  IValue< Names::postfix_median, false, String >,
48  IValue< Names::postfix_sum, false, String >,
49  IValue< Names::postfix_minority, false, String >,
50  IValue< Names::postfix_majority, false, String >,
51  IValue< Names::postfix_shannon_entropy, false, String >,
52  IValue< Names::postfix_quadratic_entropy, false, String >,
53  IValue< Names::postfix_center, false, String >,
54  IValue< Names::postfix_pdens, false, String >,
55  IValue< Names::postfix_pcount, false, String >,
56  IValue< Names::postfix_quantile, false, String >,
57  IValue< Names::postfix_sigmaz, false, String >,
58  IValue< Names::postfix_sigma0, false, String >,
59  IValue< Names::postfix_excen, false, String >,
60  IValue< Names::postfix_slope, false, String >,
61  IValue< Names::postfix_slpPerc, false, String >,
62  IValue< Names::postfix_slpDeg, false, String >,
63  IValue< Names::postfix_slpRad, false, String >,
64  IValue< Names::postfix_expos, false, String >,
65  IValue< Names::postfix_exposRad, false, String >,
66  IValue< Names::postfix_exposDeg, false, String >,
67  IValue< Names::postfix_nx, false, String >,
68  IValue< Names::postfix_ny, false, String >,
69  IValue< Names::postfix_openness, false, String >,
70  IValue< Names::column_name_alias, false, Vector<ColumnNameAlias> >,
71  IValue< Names::postfix_kmin, false, String >,
72  IValue< Names::postfix_kmax, false, String >,
73  IValue< Names::postfix_kmean, false, String >,
74  IValue< Names::postfix_kgauss, false, String >,
75  IValue< Names::postfix_kminDir, false, String >,
76  IValue< Names::postfix_kmaxDir, false, String >,
77  IValue< Names::postfix_absKmaxDir, false, String >,
78  IValue< Names::postfix_precision, false, String >
79  >;
80  }
81  }
82 
83  /// \typedef opals::opts::glob::Options
84  /// The structure of global options.
85 
86  namespace opts
87  {
88  namespace comm
89  {
90  using Options =
91  IGroup< Names::_,
92  IValue< Names::task, false, String >,
93  IValue< Names::nbThreads, false, unsigned >,
94  IValue< Names::screenLogLevel, false, LogLevel >,
95  IValue< Names::fileLogLevel, false, LogLevel >,
96  IValue< Names::lineBufferedScreenLog, false, bool >,
97  IValue< Names::logFile, false, Path >,
98  IValue< Names::cfgFile, false, Path >,
99  IValue< Names::paramMapping, false, String >,
100  IValue< Names::inParamFiles, false, Vector<Path> >,
101  IValue< Names::outParamFile, false, Path >,
102  IValue< Names::scope, false, String >,
103  IValue< Names::deleteUselessOutFile, false, bool >
104  >;
105  }
106  }
107 
108  /// \typedef opals::opts::comm::Options
109  /// The structure of common options.
110 }
IGroup< Names::_, IValue< Names::task, false, String >, IValue< Names::nbThreads, false, unsigned >, IValue< Names::screenLogLevel, false, LogLevel >, IValue< Names::fileLogLevel, false, LogLevel >, IValue< Names::lineBufferedScreenLog, false, bool >, IValue< Names::logFile, false, Path >, IValue< Names::cfgFile, false, Path >, IValue< Names::paramMapping, false, String >, IValue< Names::inParamFiles, false, Vector< Path > >, IValue< Names::outParamFile, false, Path >, IValue< Names::scope, false, String >, IValue< Names::deleteUselessOutFile, false, bool > > Options
Definition: OptionsShared.hpp:104
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
IGroup< Names::_, IValue< Names::temp, false, Path >, IValue< Names::force_coord_ref_sys, false, bool >, IValue< Names::coord_ref_sys, false, String >, IValue< Names::coord_system, false, String >, IValue< Names::points_in_memory, false, unsigned >, IValue< Names::max_log_file_mb, false, unsigned >, IValue< Names::oformat_grid, false, String >, IValue< Names::oformat_vector, false, String >, IValue< Names::oformat_tin, false, String >, IValue< Names::oformat_lidar, false, String >, IValue< Names::data_type_grid, false, RasterDataType >, IValue< Names::create_option, false, Vector< String > >, IValue< Names::postfix_z, false, String >, IValue< Names::postfix_attribute, false, String >, IValue< Names::postfix_min, false, String >, IValue< Names::postfix_max, false, String >, IValue< Names::postfix_range, false, String >, IValue< Names::postfix_nmin, false, String >, IValue< Names::postfix_nmax, false, String >, IValue< Names::postfix_rms, false, String >, IValue< Names::postfix_stdDev, false, String >, IValue< Names::postfix_var, false, String >, IValue< Names::postfix_stdDevMad, false, String >, IValue< Names::postfix_mean, false, String >, IValue< Names::postfix_median, false, String >, IValue< Names::postfix_sum, false, String >, IValue< Names::postfix_minority, false, String >, IValue< Names::postfix_majority, false, String >, IValue< Names::postfix_shannon_entropy, false, String >, IValue< Names::postfix_quadratic_entropy, false, String >, IValue< Names::postfix_center, false, String >, IValue< Names::postfix_pdens, false, String >, IValue< Names::postfix_pcount, false, String >, IValue< Names::postfix_quantile, false, String >, IValue< Names::postfix_sigmaz, false, String >, IValue< Names::postfix_sigma0, false, String >, IValue< Names::postfix_excen, false, String >, IValue< Names::postfix_slope, false, String >, IValue< Names::postfix_slpPerc, false, String >, IValue< Names::postfix_slpDeg, false, String >, IValue< Names::postfix_slpRad, false, String >, IValue< Names::postfix_expos, false, String >, IValue< Names::postfix_exposRad, false, String >, IValue< Names::postfix_exposDeg, false, String >, IValue< Names::postfix_nx, false, String >, IValue< Names::postfix_ny, false, String >, IValue< Names::postfix_openness, false, String >, IValue< Names::column_name_alias, false, Vector< ColumnNameAlias > >, IValue< Names::postfix_kmin, false, String >, IValue< Names::postfix_kmax, false, String >, IValue< Names::postfix_kmean, false, String >, IValue< Names::postfix_kgauss, false, String >, IValue< Names::postfix_kminDir, false, String >, IValue< Names::postfix_kmaxDir, false, String >, IValue< Names::postfix_absKmaxDir, false, String >, IValue< Names::postfix_precision, false, String > > Options
Definition: OptionsShared.hpp:79