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
#include <string>
12
13
namespace
fs = std::filesystem;
14
15
struct
SubcommandImportCSVOptions
{
16
fs::path
input_path
;
17
std::string
project_id
;
// used when a CSV row creates a new passport
18
};
19
20
void
setup_subcommand_import_csv
(CLI::App &parent,
21
std::shared_ptr<RuxOptions> global_opt);
22
int
run_subcommand_import_csv
(
SubcommandImportCSVOptions
const
&opt,
23
const
RuxOptions
&global_opt);
global-params.hpp
run_subcommand_import_csv
int run_subcommand_import_csv(SubcommandImportCSVOptions const &opt, const RuxOptions &global_opt)
setup_subcommand_import_csv
void setup_subcommand_import_csv(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandImportCSVOptions
Definition
csv.hpp:15
SubcommandImportCSVOptions::project_id
std::string project_id
Definition
csv.hpp:17
SubcommandImportCSVOptions::input_path
fs::path input_path
Definition
csv.hpp:16
apps
rux
include
import
csv.hpp
Generated by
1.17.0