ProteoWizard
Public Member Functions | Public Attributes
pwiz::data::diff_impl::HasID< object_type > Struct Template Reference

#include <diff_std.hpp>

List of all members.

Public Member Functions

 HasID (const std::string &id)
bool operator() (const boost::shared_ptr< object_type > &objectPtr)

Public Attributes

const std::string & id_

Detailed Description

template<typename object_type>
struct pwiz::data::diff_impl::HasID< object_type >

Definition at line 340 of file diff_std.hpp.


Constructor & Destructor Documentation

template<typename object_type >
pwiz::data::diff_impl::HasID< object_type >::HasID ( const std::string &  id)
inline

Definition at line 343 of file diff_std.hpp.

: id_(id) {}

Member Function Documentation

template<typename object_type >
bool pwiz::data::diff_impl::HasID< object_type >::operator() ( const boost::shared_ptr< object_type > &  objectPtr)
inline

Definition at line 344 of file diff_std.hpp.

References pwiz::data::diff_impl::HasID< object_type >::id_.

{return objectPtr->id == id_;}

Member Data Documentation

template<typename object_type >
const std::string& pwiz::data::diff_impl::HasID< object_type >::id_

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