Public Member Functions | Protected Attributes
pwiz::proteome::ProteinListWrapper Class Reference

Inheritable pass-through implementation for wrapping a ProteinList. More...

#include <ProteinListWrapper.hpp>

Inheritance diagram for pwiz::proteome::ProteinListWrapper:
pwiz::proteome::ProteinList FilterWrapper MyWrapper pwiz::analysis::ProteinList_DecoyGenerator pwiz::analysis::ProteinList_Filter pwiz::proteome::ProteinListCache

List of all members.

Public Member Functions

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

Protected Attributes

ProteinListPtr inner_

Detailed Description

Inheritable pass-through implementation for wrapping a ProteinList.

Definition at line 37 of file ProteinListWrapper.hpp.

Constructor & Destructor Documentation

pwiz::proteome::ProteinListWrapper::ProteinListWrapper ( const ProteinListPtr inner)

Definition at line 41 of file ProteinListWrapper.hpp.

: inner_(inner)
if (!inner.get()) throw std::runtime_error("[ProteinListWrapper] Null ProteinListPtr.");

Member Function Documentation

virtual size_t pwiz::proteome::ProteinListWrapper::size ( ) const
virtual ProteinPtr pwiz::proteome::ProteinListWrapper::protein ( size_t  index,
bool  getSequence = true 
) const

Implements pwiz::proteome::ProteinList.

Reimplemented in pwiz::analysis::ProteinList_DecoyGenerator, pwiz::analysis::ProteinList_Filter, pwiz::proteome::ProteinListCache, and FilterWrapper.

Definition at line 49 of file ProteinListWrapper.hpp.

References inner_.

{return inner_->protein(index, getSequence);}

Member Data Documentation

ProteinListPtr pwiz::proteome::ProteinListWrapper::inner_

Definition at line 53 of file ProteinListWrapper.hpp.

Referenced by protein(), and size().

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