#include <boost/program_options.hpp>
#include <GeneratorException.hpp>
#include <PlainTextGenerator.hpp>
#include <HtmlGenerator.hpp>
#include <XmlGenerator.hpp>
#include <Parser.hpp>
#include <optional>
#include <iostream>
#include <vector>
#include <string>
Go to the source code of this file.
Classes | |
struct | Conflicts |
struct | Dependencies |
struct | Requirements |
Functions | |
void | parseCommandLine (int argc, char **argv, po::variables_map &vm, po::options_description &description) |
void | checkConstraints (const po::variables_map &vm) |
int | main (int argc, char **argv) |
void checkConstraints | ( | const po::variables_map & | vm | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main Program - Resolves command-line-arguments and prints output
argc | number of command-line arguments |
argv | command-line arguments |
Definition at line 158 of file main.cpp.
References checkConstraints(), Parser::generate(), parseCommandLine(), HtmlGenerator::write(), PlainTextGenerator::write(), and XmlGenerator::write().
void parseCommandLine | ( | int | argc, |
char ** | argv, | ||
po::variables_map & | vm, | ||
po::options_description & | description | ||
) |
Defines CLI and translates program arguments
argc | the number of program arguments |
argv | the program arguments |
vm[out] | the variables map to store command-line-parameters into |
description[out] | the cli description to populate |
Definition at line 103 of file main.cpp.
Referenced by main().