ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
get.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
16
struct
DatabaseGetOptions
{
17
std::string
path
;
18
std::filesystem::path
output_file
;
19
bool
pretty
=
false
;
20
};
21
34
void
setup_subcommand_get
(CLI::App &app,
35
std::shared_ptr<RuxOptions> global_opt);
36
40
int
run_subcommand_get
(
const
DatabaseGetOptions
&opt,
41
const
RuxOptions
&global_opt);
run_subcommand_get
int run_subcommand_get(const DatabaseGetOptions &opt, const RuxOptions &global_opt)
Execute unified database get command.
setup_subcommand_get
void setup_subcommand_get(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup unified database get subcommand.
global-params.hpp
DatabaseGetOptions
Options for unified database get command.
Definition
get.hpp:16
DatabaseGetOptions::output_file
std::filesystem::path output_file
Definition
get.hpp:18
DatabaseGetOptions::path
std::string path
Definition
get.hpp:17
DatabaseGetOptions::pretty
bool pretty
Definition
get.hpp:19
RuxOptions
Definition
global-params.hpp:44
apps
rux
include
get.hpp
Generated by
1.17.0