#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "../InsightsOptions.def"
Go to the source code of this file.
|
#define | INSIGHTS_OPT(opt, name, deflt, description, category) CreateFile(opt, deflt, description); |
|
#define | INSIGHTS_OPT(opt, name, deflt, description, category) options.emplace_back(opt); |
|
|
static bool | CreateFile (const std::string &optionName, bool optionDefault, const char *description) |
| Create a markdown file which contains the information about the option. More...
|
|
int | main () |
|
◆ INSIGHTS_OPT [1/2]
#define INSIGHTS_OPT |
( |
|
opt, |
|
|
|
name, |
|
|
|
deflt, |
|
|
|
description, |
|
|
|
category |
|
) |
| CreateFile(opt, deflt, description); |
◆ INSIGHTS_OPT [2/2]
#define INSIGHTS_OPT |
( |
|
opt, |
|
|
|
name, |
|
|
|
deflt, |
|
|
|
description, |
|
|
|
category |
|
) |
| options.emplace_back(opt); |
◆ CreateFile()
static bool CreateFile |
( |
const std::string & |
optionName, |
|
|
bool |
optionDefault, |
|
|
const char * |
description |
|
) |
| |
|
static |
◆ main()