ProteoWizard
Classes | Namespaces | Functions
diff_std.hpp File Reference
#include "pwiz/utility/misc/Export.hpp"
#include <string>
#include <vector>
#include <cmath>
#include <limits>
#include <stdexcept>
#include "ParamTypes.hpp"
#include <boost/logic/tribool.hpp>

Go to the source code of this file.

Classes

struct  pwiz::data::BaseDiffConfig
struct  pwiz::data::Diff< object_type, config_type, object_result_type >
 Calculate diffs of objects in a ProteoWizard data model hierarchy. More...
struct  pwiz::data::diff_impl::HasID< object_type >
class  pwiz::data::diff_impl::Same< object_type, config_type >
class  pwiz::data::diff_impl::SameDeep< object_type, config_type >

Namespaces

namespace  pwiz
 AMTContainer.hpp.
namespace  pwiz::data
namespace  pwiz::data::diff_impl

Functions

PWIZ_API_DECL void pwiz::data::diff_impl::diff (const std::string &a, const std::string &b, std::string &a_b, std::string &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff_ids (const std::string &a, const std::string &b, std::string &a_b, std::string &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const boost::logic::tribool &a, const boost::logic::tribool &b, boost::logic::tribool &a_b, boost::logic::tribool &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const CV &a, const CV &b, CV &a_b, CV &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (CVID a, CVID b, CVID &a_b, CVID &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const CVParam &a, const CVParam &b, CVParam &a_b, CVParam &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const UserParam &a, const UserParam &b, UserParam &a_b, UserParam &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const ParamContainer &a, const ParamContainer &b, ParamContainer &a_b, ParamContainer &b_a, const BaseDiffConfig &config)
PWIZ_API_DECL void pwiz::data::diff_impl::diff (const ParamGroup &a, const ParamGroup &b, ParamGroup &a_b, ParamGroup &b_a, const BaseDiffConfig &config)
template<typename textwriter_type , typename diff_type >
std::string pwiz::data::diff_string (const diff_type &diff)
template<typename textwriter_type , typename object_type , typename config_type >
std::ostream & pwiz::data::operator<< (std::ostream &os, const Diff< object_type, config_type > &diff)
 stream insertion of Diff results
template<typename string_type >
void pwiz::data::diff_impl::diff_string (const string_type &a, const string_type &b, string_type &a_b, string_type &b_a)
template<typename char_type >
void pwiz::data::diff_impl::diff_char (const char_type &a, const char_type &b, char_type &a_b, char_type &b_a)
template<typename integral_type >
void pwiz::data::diff_impl::diff_integral (const integral_type &a, const integral_type &b, integral_type &a_b, integral_type &b_a, const BaseDiffConfig &config)
template<typename floating_type >
void pwiz::data::diff_impl::diff_floating (const floating_type &a, const floating_type &b, floating_type &a_b, floating_type &b_a, const BaseDiffConfig &config)
template<typename floating_type >
floating_type pwiz::data::diff_impl::maxdiff (const std::vector< floating_type > &a, const std::vector< floating_type > &b)
 measure maximum relative difference between elements in the vectors
template<typename object_type >
void pwiz::data::diff_impl::vector_diff (const std::vector< object_type > &a, const std::vector< object_type > &b, std::vector< object_type > &a_b, std::vector< object_type > &b_a)
template<typename object_type , typename config_type >
void pwiz::data::diff_impl::vector_diff_diff (const std::vector< object_type > &a, const std::vector< object_type > &b, std::vector< object_type > &a_b, std::vector< object_type > &b_a, const config_type &config)
template<typename object_type , typename config_type >
void pwiz::data::diff_impl::vector_diff_deep (const std::vector< boost::shared_ptr< object_type > > &a, const std::vector< boost::shared_ptr< object_type > > &b, std::vector< boost::shared_ptr< object_type > > &a_b, std::vector< boost::shared_ptr< object_type > > &b_a, const config_type &config)
template<typename object_type , typename config_type >
void pwiz::data::diff_impl::ptr_diff (const boost::shared_ptr< object_type > &a, const boost::shared_ptr< object_type > &b, boost::shared_ptr< object_type > &a_b, boost::shared_ptr< object_type > &b_a, const config_type &config)