build a vector of argv options the program path argv[0] is excluded
| 567 | // build a vector of argv options |
| 568 | // the program path argv[0] is excluded |
| 569 | vector<string> ASConsole::getArgvOptions(int argc, char** argv) const |
| 570 | { |
| 571 | vector<string> argvOptions; |
| 572 | for (int i = 1; i < argc; i++) |
| 573 | { |
| 574 | argvOptions.push_back(string(argv[i])); |
| 575 | } |
| 576 | return argvOptions; |
| 577 | } |
| 578 | |
| 579 | // for unit testing |
| 580 | vector<bool> ASConsole::getExcludeHitsVector() |