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

Public Member Functions

 SameDeep (const object_type &object, const config_type &config)
 
bool operator() (const boost::shared_ptr< 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::SameDeep< object_type, config_type >

Definition at line 393 of file diff_std.hpp.

Constructor & Destructor Documentation

◆ SameDeep()

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

Definition at line 397 of file diff_std.hpp.

399 : mine_(object), config_(config)
400 {}
const object_type & mine_
Definition diff_std.hpp:409
const config_type & config_
Definition diff_std.hpp:410

Member Function Documentation

◆ operator()()

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

Definition at line 402 of file diff_std.hpp.

403 {
404 // true iff yours is the same as mine
405 return !Diff<object_type, config_type>(mine_, *yours, config_);
406 }

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

Member Data Documentation

◆ mine_

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

◆ config_

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

The documentation for this class was generated from the following file: