Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
pwiz::analysis::ProteinList_DecoyGenerator Class Reference

ProteinList decoy generator for creating decoy proteins on the fly. More...

#include <ProteinList_DecoyGenerator.hpp>

Inheritance diagram for pwiz::analysis::ProteinList_DecoyGenerator:
pwiz::proteome::ProteinListWrapper pwiz::proteome::ProteinList

List of all members.


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

Public Types

typedef boost::shared_ptr
< Predicate

Public Member Functions

 ProteinList_DecoyGenerator (const ProteinListPtr &original, const PredicatePtr &predicate)
ProteinList interface
virtual size_t size () const
virtual size_t find (const std::string &id) const
virtual ProteinPtr protein (size_t index, bool getSequence=true) const
- Public Member Functions inherited from pwiz::proteome::ProteinListWrapper
 ProteinListWrapper (const ProteinListPtr &inner)
- Public Member Functions inherited from pwiz::proteome::ProteinList
virtual bool empty () const
virtual IndexList findKeyword (const std::string &keyword, bool caseSensitive=true) const
virtual ~ProteinList ()

Private Member Functions

 ProteinList_DecoyGenerator (const ProteinList_DecoyGenerator &)
ProteinList_DecoyGeneratoroperator= (const ProteinList_DecoyGenerator &)

Private Attributes

boost::shared_ptr< Impl > impl_

Additional Inherited Members

- Protected Attributes inherited from pwiz::proteome::ProteinListWrapper
ProteinListPtr inner_

Detailed Description

ProteinList decoy generator for creating decoy proteins on the fly.

Definition at line 40 of file ProteinList_DecoyGenerator.hpp.

Member Typedef Documentation

Definition at line 60 of file ProteinList_DecoyGenerator.hpp.

Constructor & Destructor Documentation

pwiz::analysis::ProteinList_DecoyGenerator::ProteinList_DecoyGenerator ( const ProteinListPtr original,
const PredicatePtr predicate 
pwiz::analysis::ProteinList_DecoyGenerator::ProteinList_DecoyGenerator ( const ProteinList_DecoyGenerator )

Member Function Documentation

virtual size_t pwiz::analysis::ProteinList_DecoyGenerator::size ( ) const
virtual size_t pwiz::analysis::ProteinList_DecoyGenerator::find ( const std::string &  id) const

Reimplemented from pwiz::proteome::ProteinList.

virtual ProteinPtr pwiz::analysis::ProteinList_DecoyGenerator::protein ( size_t  index,
bool  getSequence = true 
) const
ProteinList_DecoyGenerator& pwiz::analysis::ProteinList_DecoyGenerator::operator= ( const ProteinList_DecoyGenerator )

Member Data Documentation

boost::shared_ptr<Impl> pwiz::analysis::ProteinList_DecoyGenerator::impl_

Definition at line 72 of file ProteinList_DecoyGenerator.hpp.

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