Cli.h
Go to the documentation of this file.
1 #pragma once
3 
4 namespace lanelet {
5 namespace validation {
8  std::string mapFile;
9  bool print{false};
10  bool help{false};
11 };
12 
14 CommandLineConfig parseCommandLine(int argc, const char* argv[]);
15 
17 void printAllIssues(const std::vector<DetectedIssues>& issues);
18 
20 int runFromConfig(const CommandLineConfig& config);
21 
22 } // namespace validation
23 } // namespace lanelet
void printAllIssues(const std::vector< DetectedIssues > &issues)
prints a vector of issues to the command line
Definition: Cli.cpp:55
CommandLineConfig parseCommandLine(int argc, const char *argv[])
obtain the configuration from command line arguments
Definition: Cli.cpp:11
int runFromConfig(const CommandLineConfig &config)
Runs the configuration and returns the programs&#39;s return value (0 on success, 1 if issues found) ...
Definition: Cli.cpp:66
ValidationConfig validationConfig
Definition: Cli.h:7
Configuration object for the validation.
Definition: Validation.h:23


lanelet2_validation
Author(s): Fabian Poggenhans
autogenerated on Tue Jun 6 2023 02:24:02