 |
helics
3.0.1
|
10 #include "helicsCLI11.hpp"
12 #include "json/forwards.h"
21 std::vector<CLI::ConfigItem> from_config(std::istream& input)
const override final;
24 void skipJson(
bool skj =
true) { skip_json_ = skj; }
29 bool skip_json_{
false};
30 bool fallback_to_default_{
false};
32 std::vector<CLI::ConfigItem>
33 fromConfigInternal(Json::Value j,
34 const std::string& name = {},
35 const std::vector<std::string>& prefix = {})
const;
void skipJson(bool skj=true)
skip checking the JSON and go directory to the TOML processing
Definition: helicsCLI11JsonConfig.hpp:24
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Define a JSON parser for the config files for CLI11.
Definition: helicsCLI11JsonConfig.hpp:19
void fallbackToDefault(bool ftd=true)
if the specified section isn't available use the root section
Definition: helicsCLI11JsonConfig.hpp:26
HelicsConfigJSON * addJsonConfig(CLI::App *app)
Add the HELICS JSON configuration processor to the app.
Definition: helicsCLI11JsonConfig.cpp:96