FOSSredder 0.5.0
Loading...
Searching...
No Matches
DraftMatcherResolution.cpp File Reference

Implements import-draft ID resolution and catalog-state merge helpers. More...

Include dependency graph for DraftMatcherResolution.cpp:

Go to the source code of this file.

Namespaces

namespace  core
namespace  core::application
namespace  core::application::importing
namespace  core::application::importing::draft

Functions

std::string core::application::importing::draft::resolveActorId (const core::domain::catalog::WorkspaceCatalog &state, const std::string &text)
 Resolves the best matching actor identifier for the provided text.
std::string core::application::importing::draft::resolveContractId (const core::domain::catalog::WorkspaceCatalog &state, const std::string &text)
 Resolves the best matching contract identifier for the provided text.
bool core::application::importing::draft::contractIsFullyAllocatable (const core::domain::catalog::WorkspaceCatalog &state, const std::string &contractId)
 Checks whether all transactions assigned to a contract are allocatable.
core::domain::catalog::WorkspaceCatalog core::application::importing::draft::mergeCatalogState (core::domain::catalog::WorkspaceCatalog primary, const core::domain::catalog::WorkspaceCatalog &secondary)
 Merges two catalog states by keeping populated primary collections and filling gaps from a secondary state.

Detailed Description

Implements import-draft ID resolution and catalog-state merge helpers.

Definition in file DraftMatcherResolution.cpp.