FOSSredder
0.5.0
Loading...
Searching...
No Matches
CsvExporter.h
Go to the documentation of this file.
1
5
6
#pragma once
7
8
#include "
core/domain/catalog/WorkspaceCatalog.h
"
9
#include "
core/ports/usecases/export/ExportRequest.h
"
10
#include "
core/ports/usecases/export/ExportResult.h
"
11
12
namespace
core::application::exporting
{
13
17
class
CsvExporter
{
18
public
:
26
core::ports::exporting::ExportResult
27
exportData
(
const
core::domain::catalog::WorkspaceCatalog
&state,
28
const
core::ports::exporting::ExportRequest
&request)
const
;
29
};
30
31
}
// namespace core::application::exporting
ExportRequest.h
Declares export use-case request DTOs and related port types.
ExportResult.h
Declares the export execution result port contract.
WorkspaceCatalog.h
Domain aggregate that stores catalog entities for one workspace.
core::application::exporting::CsvExporter
Exports the property/contract matrix to CSV.
Definition
CsvExporter.h:17
core::application::exporting::CsvExporter::exportData
core::ports::exporting::ExportResult exportData(const core::domain::catalog::WorkspaceCatalog &state, const core::ports::exporting::ExportRequest &request) const
Exports the property/contract matrix to a CSV file.
Definition
CsvExporter.cpp:71
core::domain::catalog::WorkspaceCatalog
Definition
WorkspaceCatalog.h:21
core::application::exporting
Definition
CsvExporter.h:12
core::ports::exporting::ExportRequest
Describes one export run against a workspace snapshot.
Definition
ExportRequest.h:61
core::ports::exporting::ExportResult
Definition
ExportResult.h:14
core
include
core
application
export
CsvExporter.h
Generated by
1.14.0