ProteoWizard
Public Member Functions | Protected Attributes | List of all members
pwiz::analysis::ProteinList_DecoyGenerator::Predicate Struct Referenceabstract

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

Public Member Functions

virtual ProteinPtr generate (const Protein &protein) const =0
 return a decoy protein based on an input target protein More...
 
virtual const std::string & decoyPrefix () const
 return the string prefixed to a protein id to indicate it is a decoy More...
 
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

§ ~Predicate()

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

Definition at line 54 of file ProteinList_DecoyGenerator.hpp.

54 {}

Member Function Documentation

§ generate()

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.

§ decoyPrefix()

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.

Member Data Documentation

§ decoyPrefix_

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: