|
FOSSredder 0.5.0
|
#include <WorkspaceCatalog.h>
Public Types | |
| template<typename T> | |
| using | EntityList = std::vector<std::shared_ptr<T>> |
| using | PropertyList = EntityList<core::domain::Property> |
| using | ActorList = EntityList<core::domain::Actor> |
| using | ContractList = EntityList<core::domain::Contract> |
| using | StatementList = EntityList<core::domain::Statement> |
| using | TransactionList = EntityList<core::domain::Transaction> |
| using | AnalysisList = EntityList<core::domain::Analysis> |
| using | AnnualList = EntityList<core::domain::Annual> |
Public Member Functions | |
| WorkspaceCatalog () | |
| const PropertyList & | properties () const noexcept |
| Returns all properties in the catalog. | |
| void | setProperties (PropertyList value) |
| Replaces all properties in the catalog. | |
| const ActorList & | actors () const noexcept |
| Returns all actors in the catalog. | |
| void | setActors (ActorList value) |
| Replaces all actors in the catalog. | |
| const ContractList & | contracts () const noexcept |
| Returns all contracts in the catalog. | |
| void | setContracts (ContractList value) |
| Replaces all contracts in the catalog. | |
| const StatementList & | statements () const noexcept |
| Returns all statements in the catalog. | |
| void | setStatements (StatementList value) |
| Replaces all statements in the catalog. | |
| const TransactionList & | transactions () const noexcept |
| Returns all transactions in the catalog. | |
| void | setTransactions (TransactionList value) |
| Replaces all transactions in the catalog. | |
| const AnalysisList & | analyses () const noexcept |
| Returns all analyses in the catalog. | |
| void | setAnalyses (AnalysisList value) |
| Replaces all analyses in the catalog. | |
| const AnnualList & | annuals () const noexcept |
| Returns all annuals in the catalog. | |
| void | setAnnuals (AnnualList value) |
| Replaces all annuals in the catalog. | |
| bool | empty () const noexcept |
| Checks whether all catalog collections are empty. | |
Definition at line 21 of file WorkspaceCatalog.h.
Definition at line 27 of file WorkspaceCatalog.h.
Definition at line 31 of file WorkspaceCatalog.h.
Definition at line 32 of file WorkspaceCatalog.h.
Definition at line 28 of file WorkspaceCatalog.h.
| using core::domain::catalog::WorkspaceCatalog::EntityList = std::vector<std::shared_ptr<T>> |
Definition at line 24 of file WorkspaceCatalog.h.
Definition at line 26 of file WorkspaceCatalog.h.
Definition at line 29 of file WorkspaceCatalog.h.
| using core::domain::catalog::WorkspaceCatalog::TransactionList = EntityList<core::domain::Transaction> |
Definition at line 30 of file WorkspaceCatalog.h.
|
default |
|
nodiscardnoexcept |
Returns all actors in the catalog.
Definition at line 17 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all analyses in the catalog.
Definition at line 29 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all annuals in the catalog.
Definition at line 32 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all contracts in the catalog.
Definition at line 20 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Checks whether all catalog collections are empty.
Definition at line 35 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all properties in the catalog.
Definition at line 14 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setActors | ( | ActorList | value | ) |
Replaces all actors in the catalog.
Definition at line 18 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setAnalyses | ( | AnalysisList | value | ) |
Replaces all analyses in the catalog.
Definition at line 30 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setAnnuals | ( | AnnualList | value | ) |
Replaces all annuals in the catalog.
Definition at line 33 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setContracts | ( | ContractList | value | ) |
Replaces all contracts in the catalog.
Definition at line 21 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setProperties | ( | PropertyList | value | ) |
Replaces all properties in the catalog.
Definition at line 15 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setStatements | ( | StatementList | value | ) |
Replaces all statements in the catalog.
Definition at line 24 of file WorkspaceCatalog.cpp.
| void core::domain::catalog::WorkspaceCatalog::setTransactions | ( | TransactionList | value | ) |
Replaces all transactions in the catalog.
Definition at line 27 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all statements in the catalog.
Definition at line 23 of file WorkspaceCatalog.cpp.
|
nodiscardnoexcept |
Returns all transactions in the catalog.
Definition at line 26 of file WorkspaceCatalog.cpp.