MCPcopy Create free account
hub / github.com/LAStools/LAStools / get_command_line

Function get_command_line

src/lasvalidate.cpp:86–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static std::string get_command_line(int argc, char* argv[]) {
87 std::ostringstream command_line_oss;
88 for (int i = 0; i < argc; i++) {
89 if (!argv[i]) continue;
90
91 if (i > 0) command_line_oss << ' ';
92
93 if (std::strchr(argv[i], ' '))
94 command_line_oss << '"' << argv[i] << '"';
95 else
96 command_line_oss << argv[i];
97 }
98
99 return command_line_oss.str();
100}
101
102static void open_report_output(const LASwriteOpener& laswriteopener, FILE*& file_out, ValidateWriter*& writer, BOOL is_csv, BOOL consol_out) {
103 if (consol_out == FALSE) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected