Public Member Functions | Public Attributes
pwiz::identdata::id_p< T > Struct Template Reference

#include <MzidPredicates.hpp>

List of all members.

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

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

Definition at line 41 of file MzidPredicates.hpp.

: id(id) {}

Member Function Documentation

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

Definition at line 43 of file MzidPredicates.hpp.

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

return t->id == id;

Member Data Documentation

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: