ProteoWizard
Public Member Functions | Public Attributes | List of all members
pwiz::tradata::Peptide Struct Reference

Peptide for which one or more transitions are intended to identify. More...

#include <TraData.hpp>

Inheritance diagram for pwiz::tradata::Peptide:
pwiz::data::ParamContainer

Public Member Functions

 Peptide (const std::string &id="")
 
bool empty () const
 returns true iff all members are empty and contain no params
 
- Public Member Functions inherited from pwiz::data::ParamContainer
CVParam cvParam (CVID cvid) const
 finds cvid in the container:
 
CVParam cvParamChild (CVID cvid) const
 finds child of cvid in the container:
 
template<typename ValueT >
ValueT cvParamValueOrDefault (CVID cvid, ValueT defaultValue) const
 finds cvid in the container:
 
template<typename ValueT >
ValueT cvParamChildValueOrDefault (CVID cvid, ValueT defaultValue) const
 finds child of cvid in the container:
 
std::vector< CVParamcvParamChildren (CVID cvid) const
 finds all children of cvid in the container:
 
bool hasCVParam (CVID cvid) const
 returns true iff cvParams contains exact cvid (recursive)
 
bool hasCVParamChild (CVID cvid) const
 returns true iff cvParams contains a child (is_a) of cvid (recursive)
 
UserParam userParam (const std::string &) const
 finds UserParam with specified name
 
void set (CVID cvid, const std::string &value="", CVID units=CVID_Unknown)
 set/add a CVParam (not recursive)
 
void set (CVID cvid, double value, CVID units=CVID_Unknown)
 set/add a CVParam (not recursive)
 
void set (CVID cvid, int value, CVID units=CVID_Unknown)
 set/add a CVParam (not recursive)
 
template<typename value_type >
void set (CVID cvid, value_type value, CVID units=CVID_Unknown)
 set/add a CVParam (not recursive)
 
bool empty () const
 returns true iff the element contains no params or param groups
 
void clear ()
 clears the collections
 
bool operator== (const ParamContainer &that) const
 returns true iff this and that have the exact same cvParams and userParams
 
bool operator!= (const ParamContainer &that) const
 returns !(this==that)
 
template<>
void set (CVID cvid, bool value, CVID units)
 special case for bool (outside the class for gcc 3.4, and inline for msvc)
 

Public Attributes

std::string id
 Identifier for the peptide to be used for referencing within a document.
 
std::string sequence
 Amino acid sequence of the peptide being described.
 
std::vector< Modificationmodifications
 List of modifications on this peptide.
 
std::vector< ProteinPtrproteinPtrs
 Reference to zero or more proteins which this peptide is intended to identify.
 
std::vector< RetentionTimeretentionTimes
 List of retention time information entries.
 
Evidence evidence
 
- Public Attributes inherited from pwiz::data::ParamContainer
std::vector< ParamGroupPtrparamGroupPtrs
 a collection of references to ParamGroups
 
std::vector< CVParamcvParams
 a collection of controlled vocabulary terms
 
std::vector< UserParamuserParams
 a collection of uncontrolled user terms
 

Detailed Description

Peptide for which one or more transitions are intended to identify.

Definition at line 211 of file TraData.hpp.

Constructor & Destructor Documentation

◆ Peptide()

pwiz::tradata::Peptide::Peptide ( const std::string &  id = "")

Member Function Documentation

◆ empty()

bool pwiz::tradata::Peptide::empty ( ) const

returns true iff all members are empty and contain no params

Member Data Documentation

◆ id

std::string pwiz::tradata::Peptide::id

Identifier for the peptide to be used for referencing within a document.

Definition at line 214 of file TraData.hpp.

◆ sequence

std::string pwiz::tradata::Peptide::sequence

Amino acid sequence of the peptide being described.

Definition at line 217 of file TraData.hpp.

◆ modifications

std::vector<Modification> pwiz::tradata::Peptide::modifications

List of modifications on this peptide.

Definition at line 220 of file TraData.hpp.

◆ proteinPtrs

std::vector<ProteinPtr> pwiz::tradata::Peptide::proteinPtrs

Reference to zero or more proteins which this peptide is intended to identify.

Definition at line 223 of file TraData.hpp.

◆ retentionTimes

std::vector<RetentionTime> pwiz::tradata::Peptide::retentionTimes

List of retention time information entries.

Definition at line 226 of file TraData.hpp.

◆ evidence

Evidence pwiz::tradata::Peptide::evidence

Definition at line 228 of file TraData.hpp.


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