ProteoWizard
|
Calculate diffs of objects in a ProteoWizard data model hierarchy. More...
#include <diff_std.hpp>
Public Member Functions | |
Diff (const config_type &config=config_type()) | |
Diff (const object_type &a, const object_type &b, const config_type &config=config_type()) | |
operator bool () | |
conversion to bool, with same semantics as *nix diff command: true == different false == not different More... | |
Diff & | operator() (const object_type &a, const object_type &b) |
Public Attributes | |
object_result_type | a_b |
object_result_type | b_a |
Private Attributes | |
config_type | config_ |
Calculate diffs of objects in a ProteoWizard data model hierarchy.
A diff between two objects a and b calculates the set differences aand b.
The Diff struct acts as a functor, but also stores the results of the diff calculation.
The bool conversion operator is provided to indicate whether the two objects are different (either aor bis non-empty).
object_type requirements: object_type a; a.empty(); pwiz::data::diff::diff(const object_type& a, const object_type& b, object_result_type& a_b, object_result_type& b_a);
config_type must be pwiz::data::diff::BaseDiffConfig or derived from it
Definition at line 142 of file diff_std.hpp.
|
inline |
Definition at line 144 of file diff_std.hpp.
|
inline |
Definition at line 148 of file diff_std.hpp.
References pwiz::data::diff_impl::diff().
|
inline |
conversion to bool, with same semantics as *nix diff command: true == different false == not different
Definition at line 162 of file diff_std.hpp.
|
inline |
Definition at line 164 of file diff_std.hpp.
References pwiz::data::diff_impl::diff().
object_result_type pwiz::data::Diff< object_type, config_type, object_result_type >::a_b |
Definition at line 156 of file diff_std.hpp.
Referenced by testAmbiguousResidue(), testAnalysisData(), testChromatogramList(), testContactRole(), testCV(), testCVParam(), testDatabaseTranslation(), testEnzyme(), testFileContent(), testFileDescription(), testFilter(), testFragmentArray(), testIdentData(), testInputs(), testIonType(), testMaxPrecisionDiff(), testMeasure(), testMSData(), testParamContainer(), testParamGroup(), testPeptideEvidence(), testPeptideHypothesis(), testPrecursor(), testProduct(), testProteinAmbiguityGroup(), testProteinDetectionHypothesis(), testProteinDetectionList(), testProteinList(), testProteomeData(), testResidue(), testRun(), testSample(), testScanSettings(), testSearchDatabase(), testSearchModification(), testSourceFile(), testSpectraData(), testSpectrumIdentificationList(), testSpectrumList(), testTraData(), and testUserParam().
object_result_type pwiz::data::Diff< object_type, config_type, object_result_type >::b_a |
Definition at line 157 of file diff_std.hpp.
Referenced by testAmbiguousResidue(), testAnalysisData(), testChromatogramList(), testContactRole(), testCV(), testCVParam(), testDatabaseTranslation(), testEnzyme(), testFileContent(), testFileDescription(), testFilter(), testFragmentArray(), testIdentData(), testInputs(), testIonType(), testMaxPrecisionDiff(), testMeasure(), testMSData(), testParamContainer(), testParamGroup(), testPeptideEvidence(), testPeptideHypothesis(), testPrecursor(), testProduct(), testProteinAmbiguityGroup(), testProteinDetectionHypothesis(), testProteinDetectionList(), testProteinList(), testResidue(), testRun(), testSample(), testScan(), testScanSettings(), testSearchDatabase(), testSearchModification(), testSourceFile(), testSpectraData(), testSpectrumIdentificationList(), testSpectrumList(), testTraData(), and testUserParam().
|
private |
Definition at line 172 of file diff_std.hpp.