|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
#include <cstdint>#include <filesystem>#include <nlohmann/json.hpp>#include <string>#include <variant>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | rux |
| namespace | rux::database |
Typedefs | |
| using | rux::database::DataPayload |
| Data payload that can be returned by routers. | |
Enumerations | |
| enum class | rux::database::OutputFormat { rux::database::Binary , rux::database::JSON , rux::database::Text } |
| Output format types. More... | |
Functions | |
| OutputFormat | rux::database::detect_format (const DataPayload &payload) |
| Detect format from payload type. | |
| void | rux::database::write_output (const DataPayload &payload, bool force_pretty=false) |
| Write data to stdout with appropriate formatting. | |
| void | rux::database::write_to_file (const DataPayload &payload, const std::filesystem::path &file_path) |
| Write data to a file. | |
| bool | rux::database::is_stdout_tty () |
| Check if stdout is a TTY (for format detection). | |
| std::string | rux::database::json_to_text (const nlohmann::json &j) |
| Convert JSON to text (for scalar values). | |