ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
csv.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <filesystem>
10
#include <memory>
11
12
namespace
fs = std::filesystem;
13
14
struct
SubcommandExportCSVOptions
{
15
fs::path
output_path
= fs::current_path() /
"elements.csv"
;
16
};
17
18
void
setup_subcommand_export_csv
(CLI::App &parent,
19
std::shared_ptr<RuxOptions> global_opt);
20
int
run_subcommand_export_csv
(
SubcommandExportCSVOptions
const
&opt,
21
const
RuxOptions
&global_opt);
setup_subcommand_export_csv
void setup_subcommand_export_csv(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_export_csv
int run_subcommand_export_csv(SubcommandExportCSVOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandExportCSVOptions
Definition
csv.hpp:14
SubcommandExportCSVOptions::output_path
fs::path output_path
Definition
csv.hpp:15
apps
rux
include
export
csv.hpp
Generated by
1.17.0