ProteoWizard
Public Member Functions | Public Attributes | List of all members
pwiz::identdata::id_p< T > Struct Template Reference

#include <MzidPredicates.hpp>

Public Member Functions

 id_p (const std::string id)
 
bool operator() (const boost::shared_ptr< T > &t) const
 

Public Attributes

const std::string id
 

Detailed Description

template<typename T>
struct pwiz::identdata::id_p< T >

Definition at line 37 of file MzidPredicates.hpp.

Constructor & Destructor Documentation

§ id_p()

template<typename T >
pwiz::identdata::id_p< T >::id_p ( const std::string  id)
inline

Definition at line 41 of file MzidPredicates.hpp.

41 : id(id) {}
const std::string id

Member Function Documentation

§ operator()()

template<typename T >
bool pwiz::identdata::id_p< T >::operator() ( const boost::shared_ptr< T > &  t) const
inline

Definition at line 43 of file MzidPredicates.hpp.

References pwiz::identdata::id_p< T >::id.

44  {
45  return t->id == id;
46  }
const std::string id

Member Data Documentation

§ id

template<typename T >
const std::string pwiz::identdata::id_p< T >::id

Definition at line 39 of file MzidPredicates.hpp.

Referenced by pwiz::identdata::id_p< T >::operator()().


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