ProteoWizard
Public Member Functions | Private Attributes | List of all members
pwiz::data::diff_impl::Same< object_type, config_type > Class Template Reference

#include <diff_std.hpp>

Public Member Functions

 Same (const object_type &object, const config_type &config)
 
bool operator() (const object_type &yours)
 

Private Attributes

const object_type & mine_
 
const config_type & config_
 

Detailed Description

template<typename object_type, typename config_type>
class pwiz::data::diff_impl::Same< object_type, config_type >

Definition at line 349 of file diff_std.hpp.

Constructor & Destructor Documentation

◆ Same()

template<typename object_type , typename config_type >
pwiz::data::diff_impl::Same< object_type, config_type >::Same ( const object_type &  object,
const config_type &  config 
)
inline

Definition at line 353 of file diff_std.hpp.

355  : mine_(object), config_(config)
356  {}

Member Function Documentation

◆ operator()()

template<typename object_type , typename config_type >
bool pwiz::data::diff_impl::Same< object_type, config_type >::operator() ( const object_type &  yours)
inline

Definition at line 358 of file diff_std.hpp.

359  {
360  // true iff yours is the same as mine
361  return !Diff<object_type, config_type>(mine_, yours, config_);
362  }

References pwiz::data::diff_impl::Same< object_type, config_type >::config_, and pwiz::data::diff_impl::Same< object_type, config_type >::mine_.

Member Data Documentation

◆ mine_

template<typename object_type , typename config_type >
const object_type& pwiz::data::diff_impl::Same< object_type, config_type >::mine_
private

◆ config_

template<typename object_type , typename config_type >
const config_type& pwiz::data::diff_impl::Same< object_type, config_type >::config_
private

The documentation for this class was generated from the following file:
pwiz::data::diff_impl::Same::config_
const config_type & config_
Definition: diff_std.hpp:366
pwiz::data::diff_impl::Same::mine_
const object_type & mine_
Definition: diff_std.hpp:365