ProteoWizard
Public Member Functions | Protected Attributes
pwiz::analysis::ProteinList_DecoyGenerator::Predicate Struct Reference

client-implemented generator predicate – called during construction of ProteinList_DecoyGenerator to create a decoy protein from a target protein More...

#include <ProteinList_DecoyGenerator.hpp>

Inheritance diagram for pwiz::analysis::ProteinList_DecoyGenerator::Predicate:
pwiz::analysis::ProteinList_DecoyGeneratorPredicate_Reversed pwiz::analysis::ProteinList_DecoyGeneratorPredicate_Shuffled

List of all members.

Public Member Functions

virtual ProteinPtr generate (const Protein &protein) const =0
 return a decoy protein based on an input target protein
virtual const std::string & decoyPrefix () const
 return the string prefixed to a protein id to indicate it is a decoy
virtual ~Predicate ()

Protected Attributes

std::string decoyPrefix_

Detailed Description

client-implemented generator predicate – called during construction of ProteinList_DecoyGenerator to create a decoy protein from a target protein

Definition at line 46 of file ProteinList_DecoyGenerator.hpp.


Constructor & Destructor Documentation

virtual pwiz::analysis::ProteinList_DecoyGenerator::Predicate::~Predicate ( )
inlinevirtual

Definition at line 54 of file ProteinList_DecoyGenerator.hpp.

{}

Member Function Documentation

virtual ProteinPtr pwiz::analysis::ProteinList_DecoyGenerator::Predicate::generate ( const Protein protein) const
pure virtual

return a decoy protein based on an input target protein

Implemented in pwiz::analysis::ProteinList_DecoyGeneratorPredicate_Shuffled, and pwiz::analysis::ProteinList_DecoyGeneratorPredicate_Reversed.

virtual const std::string& pwiz::analysis::ProteinList_DecoyGenerator::Predicate::decoyPrefix ( ) const
inlinevirtual

return the string prefixed to a protein id to indicate it is a decoy

Definition at line 52 of file ProteinList_DecoyGenerator.hpp.

{return decoyPrefix_;}

Member Data Documentation

std::string pwiz::analysis::ProteinList_DecoyGenerator::Predicate::decoyPrefix_
protected

Definition at line 57 of file ProteinList_DecoyGenerator.hpp.


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