|
FOSSredder 0.5.0
|
#include <Analysis.h>
Public Member Functions | |
| Analysis () | |
| Analysis (const Analysis &)=delete | |
| Analysis (Analysis &&)=delete | |
| Analysis & | operator= (const Analysis &)=delete |
| Analysis & | operator= (Analysis &&)=delete |
| void | rename (EntityName value) |
| Renames the analysis with normalized entity text. | |
| void | rename (std::string value) |
| Renames the analysis with raw text. | |
| void | setType (AnalysisType value) |
| Sets the analysis type from a value object. | |
| void | setType (std::string value) |
| Sets the analysis type from raw text. | |
| void | setConfigJson (std::string value) |
| Stores the raw configuration JSON. | |
| void | setFilterSpec (FilterSpec value) |
| Sets the filter specification from a value object. | |
| void | setFilterSpec (std::string value) |
| Sets the filter specification from raw text. | |
| void | setExportFormat (ExportFormat value) |
| Sets the export format from a value object. | |
| void | setExportFormat (std::string value) |
| Sets the export format from raw text. | |
| void | setIncludeCalculationAdjustments (bool value) |
| Enables or disables calculation adjustments. | |
| void | setExportStateJson (std::string value) |
| Stores the export state JSON snapshot. | |
| void | setSnapshotTransactionsJson (std::string value) |
| Stores the snapshot transactions JSON. | |
| void | clearAdjustments () |
| Clears all adjustment entries. | |
| void | setAdjustment (std::string key, double value) |
| Sets or updates a normalized adjustment entry. | |
| void | removeAdjustment (const std::string &key) |
| Removes a normalized adjustment entry. | |
| bool | hasAdjustment (const std::string &key) const |
| Checks whether an adjustment exists. | |
| std::size_t | adjustmentCount () const noexcept |
| Returns the number of adjustments. | |
| bool | hasType () const noexcept |
| Checks whether the analysis has a valid type. | |
| bool | hasExportFormat () const noexcept |
| Checks whether the analysis has a valid export format. | |
| bool | hasConfig () const noexcept |
| Checks whether configuration JSON exists. | |
| bool | hasFilterSpec () const noexcept |
| Checks whether a filter specification exists. | |
| bool | hasSnapshotTransactions () const noexcept |
| Checks whether snapshot transactions are present. | |
| bool | isReadyForExport () const noexcept |
| Checks whether the analysis is ready to export. | |
| bool | isConfigured () const noexcept |
| Checks whether the analysis is configured sufficiently for processing. | |
| bool | isTabular () const noexcept |
| Checks whether the analysis type is tabular. | |
| bool | isChartLike () const noexcept |
| Checks whether the analysis type is chart-like. | |
| bool | supportsExportFormat (const std::string &candidate) const |
| Checks whether a candidate export format matches this analysis. | |
| bool | hasAdjustments () const noexcept |
| Checks whether at least one adjustment exists. | |
| bool | isResultReady () const noexcept |
| Checks whether the analysis has enough data to represent a result. | |
| std::string | executionType () const |
| Resolves the effective execution type for the analysis. | |
| std::string | outputType () const |
| Resolves the effective output type for the analysis. | |
| const std::string & | id () const noexcept |
| const std::string & | name () const noexcept |
| const std::string & | type () const noexcept |
| const std::string & | configJson () const noexcept |
| const std::string & | filterSpec () const noexcept |
| const std::string & | exportFormat () const noexcept |
| const bool & | includeCalculationAdjustments () const noexcept |
| const std::string & | exportStateJson () const noexcept |
| const std::string & | snapshotTransactionsJson () const noexcept |
| const std::unordered_map< std::string, double > & | adjustments () const noexcept |
| const std::string & | createdAt () const noexcept |
| const std::string & | updatedAt () const noexcept |
| void | setId (std::string value) |
| void | setCreatedAt (std::string value) |
| void | setUpdatedAt (std::string value) |
Definition at line 23 of file Analysis.h.
|
default |
|
delete |
|
delete |
|
nodiscardnoexcept |
Returns the number of adjustments.
Definition at line 129 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 202 of file Analysis.cpp.
| void core::domain::Analysis::clearAdjustments | ( | ) |
Clears all adjustment entries.
Definition at line 107 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 196 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 203 of file Analysis.cpp.
|
nodiscard |
Resolves the effective execution type for the analysis.
Definition at line 185 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 198 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 200 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 197 of file Analysis.cpp.
|
nodiscard |
Checks whether an adjustment exists.
| key | Raw adjustment key. |
Definition at line 124 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether at least one adjustment exists.
Definition at line 177 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether configuration JSON exists.
Definition at line 141 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis has a valid export format.
Definition at line 137 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether a filter specification exists.
Definition at line 145 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether snapshot transactions are present.
Definition at line 149 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis has a valid type.
Definition at line 133 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 193 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 199 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis type is chart-like.
Definition at line 165 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis is configured sufficiently for processing.
Definition at line 157 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis is ready to export.
Definition at line 153 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis has enough data to represent a result.
Definition at line 181 of file Analysis.cpp.
|
nodiscardnoexcept |
Checks whether the analysis type is tabular.
Definition at line 161 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 194 of file Analysis.cpp.
|
nodiscard |
Resolves the effective output type for the analysis.
Definition at line 189 of file Analysis.cpp.
| void core::domain::Analysis::removeAdjustment | ( | const std::string & | key | ) |
Removes a normalized adjustment entry.
| key | Raw adjustment key. |
Definition at line 119 of file Analysis.cpp.
| void core::domain::Analysis::rename | ( | EntityName | value | ) |
Renames the analysis with normalized entity text.
| value | Normalized entity name wrapper. |
Definition at line 16 of file Analysis.cpp.
| void core::domain::Analysis::rename | ( | std::string | value | ) |
Renames the analysis with raw text.
| value | Raw entity name text. |
Definition at line 20 of file Analysis.cpp.
| void core::domain::Analysis::setAdjustment | ( | std::string | key, |
| double | value ) |
Sets or updates a normalized adjustment entry.
| key | Raw adjustment key. |
| value | Adjustment amount. |
Definition at line 111 of file Analysis.cpp.
| void core::domain::Analysis::setConfigJson | ( | std::string | value | ) |
Stores the raw configuration JSON.
| value | Configuration JSON text. |
Definition at line 32 of file Analysis.cpp.
| void core::domain::Analysis::setCreatedAt | ( | std::string | value | ) |
Definition at line 206 of file Analysis.cpp.
| void core::domain::Analysis::setExportFormat | ( | ExportFormat | value | ) |
Sets the export format from a value object.
| value | Normalized export format wrapper. |
Definition at line 44 of file Analysis.cpp.
| void core::domain::Analysis::setExportFormat | ( | std::string | value | ) |
Sets the export format from raw text.
| value | Raw export format text. |
Definition at line 48 of file Analysis.cpp.
| void core::domain::Analysis::setExportStateJson | ( | std::string | value | ) |
Stores the export state JSON snapshot.
| value | Export state JSON text. |
Definition at line 56 of file Analysis.cpp.
| void core::domain::Analysis::setFilterSpec | ( | FilterSpec | value | ) |
Sets the filter specification from a value object.
| value | Normalized filter specification wrapper. |
Definition at line 36 of file Analysis.cpp.
| void core::domain::Analysis::setFilterSpec | ( | std::string | value | ) |
Sets the filter specification from raw text.
| value | Raw filter specification text. |
Definition at line 40 of file Analysis.cpp.
| void core::domain::Analysis::setId | ( | std::string | value | ) |
Definition at line 205 of file Analysis.cpp.
| void core::domain::Analysis::setIncludeCalculationAdjustments | ( | bool | value | ) |
Enables or disables calculation adjustments.
| value | Adjustment flag. |
Definition at line 52 of file Analysis.cpp.
| void core::domain::Analysis::setSnapshotTransactionsJson | ( | std::string | value | ) |
Stores the snapshot transactions JSON.
| value | Snapshot transactions JSON text. |
Definition at line 60 of file Analysis.cpp.
| void core::domain::Analysis::setType | ( | AnalysisType | value | ) |
Sets the analysis type from a value object.
| value | Normalized analysis type wrapper. |
Definition at line 24 of file Analysis.cpp.
| void core::domain::Analysis::setType | ( | std::string | value | ) |
Sets the analysis type from raw text.
| value | Raw analysis type text. |
Definition at line 28 of file Analysis.cpp.
| void core::domain::Analysis::setUpdatedAt | ( | std::string | value | ) |
Definition at line 207 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 201 of file Analysis.cpp.
|
nodiscard |
Checks whether a candidate export format matches this analysis.
| candidate | Export format to check. |
Definition at line 169 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 195 of file Analysis.cpp.
|
nodiscardnoexcept |
Definition at line 204 of file Analysis.cpp.