ProteoWizard
Public Member Functions | Public Attributes
pwiz::data::CVParamIs Struct Reference

functor for finding CVParam with specified exact CVID in a collection of CVParams: More...

#include <ParamTypes.hpp>

List of all members.

Public Member Functions

 CVParamIs (CVID cvid)
bool operator() (const CVParam &param) const

Public Attributes

CVID cvid_

Detailed Description

functor for finding CVParam with specified exact CVID in a collection of CVParams:

vector<CVParam>::const_iterator it = find_if(params.begin(), params.end(), CVParamIs(MS_software));

Definition at line 151 of file ParamTypes.hpp.


Constructor & Destructor Documentation

pwiz::data::CVParamIs::CVParamIs ( CVID  cvid)
inline

Definition at line 153 of file ParamTypes.hpp.

: cvid_(cvid) {}

Member Function Documentation

bool pwiz::data::CVParamIs::operator() ( const CVParam param) const
inline

Definition at line 154 of file ParamTypes.hpp.

References pwiz::data::CVParam::cvid.

{return param.cvid == cvid_;}

Member Data Documentation

CVID pwiz::data::CVParamIs::cvid_

Definition at line 155 of file ParamTypes.hpp.


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