11#include <OpenMS/config.h>
19 class ExperimentalDesign;
142 bool committed_ {
false};
A container for consensus elements.
Definition ConsensusMap.h:67
Representation of an experimental design in OpenMS. Instances can be loaded with the ExperimentalDesi...
Definition ExperimentalDesign.h:449
Scope guard that leaves no partial QPX collection behind.
Definition QPXCollectionExport.h:108
Transaction & operator=(Transaction &&)=delete
Transaction(const Transaction &)=delete
Transaction & operator=(const Transaction &)=delete
~Transaction()
Remove the collection files this export created, unless commit() was called.
std::vector< std::string > preexisting_
Collection files that were already on disk when the guard started; never removed.
Definition QPXCollectionExport.h:141
Transaction(const std::string &directory)
Start guarding a QPX collection directory.
std::string directory_
Definition QPXCollectionExport.h:139
Transaction(Transaction &&)=delete
void commit()
Keep the collection: the export completed.
Whole-collection preflight for the QPX Parquet export (-out_qpx)
Definition QPXCollectionExport.h:52
static bool requireExportable(const ConsensusMap &cmap, const ExperimentalDesign &design)
Refuse a collection that cannot be written in full, before any file is created.
OpenMS looks in the< code > OPENMS_THERMO_MANAGED_DIR</code > environment variable then in the share directory
Definition common-cmake-parameters.doxygen:179
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19