ProteoWizard
|
Calculate diffs of objects in a ProteoWizard data model hierarchy. More...
#include <diff_std.hpp>
Public Member Functions | |
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 | |
__pad0__: config_(config) {} Diff(const object_type& a | |
const object_type & | b |
const object_type const config_type & | config |
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 |
conversion to bool, with same semantics as *nix diff command: true == different false == not different
Definition at line 162 of file diff_std.hpp.
References pwiz::data::Diff< object_type, config_type, object_result_type >::b_a.
|
inline |
Definition at line 164 of file diff_std.hpp.
References pwiz::data::Diff< object_type, config_type, object_result_type >::b_a, pwiz::data::Diff< object_type, config_type, object_result_type >::config_, and pwiz::data::diff_impl::diff().
pwiz::data::Diff< object_type, config_type, object_result_type >::__pad0__ |
Definition at line 148 of file diff_std.hpp.
const object_type& pwiz::data::Diff< object_type, config_type, object_result_type >::b |
Definition at line 148 of file diff_std.hpp.
const object_type const config_type& pwiz::data::Diff< object_type, config_type, object_result_type >::config |
Definition at line 150 of file diff_std.hpp.
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 pwiz::data::Diff< object_type, config_type, object_result_type >::operator bool(), pwiz::data::Diff< object_type, config_type, object_result_type >::operator()(), 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.
Referenced by pwiz::data::Diff< object_type, config_type, object_result_type >::operator()().