|
generator
1.2
|
Entry point of the program, it parses the command line arguments, generates instances, and writes them to the xml file. More...
#include <algorithm>#include <iostream>#include <string>#include <stdexcept>#include <sstream>#include "Settings.h"#include "Generator.h"#include "GeneratorConfig.h"#include "ProjectParameters.h"#include "ProjectParametersParser.h"
Include dependency graph for ProjectGenerator.cpp:Go to the source code of this file.
Enumerations | |
| enum | ProgramReturnedCodes { EXIT_WITH_SUCCESS = 0, INVALID_PARAMETER = 1, INSUFFICIENT_PARAMETERS = 2, INPUT_OUTPUT_ERROR = 4, RUNTIME_ERROR = 8, UNKNOWN_ERROR = 16 } |
| Return codes of the program. | |
Functions | |
| void | printProgramHeader () |
| It prints the program header to the standard output. | |
| void | printProgramHelp (const string &progName) |
| It prints the program header and help. More... | |
| int | main (int argc, char *argv[]) |
| It handles the program command line arguments, reads desired properties of instances, generates and writes them to the xml file. More... | |
Entry point of the program, it parses the command line arguments, generates instances, and writes them to the xml file.
Definition in file ProjectGenerator.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
It handles the program command line arguments, reads desired properties of instances, generates and writes them to the xml file.
| argc,argv | Arguments given to the program. |
Definition at line 93 of file ProjectGenerator.cpp.
| void printProgramHelp | ( | const string & | progName | ) |
It prints the program header and help.
| progName | The name of this executable. |
Definition at line 68 of file ProjectGenerator.cpp.
1.8.9.1