ProteoWizard
Public Member Functions | Protected Attributes | List of all members
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

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

§ ProteinListWrapper()

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

Definition at line 41 of file ProteinListWrapper.hpp.

42  : inner_(inner)
43  {
44  if (!inner.get()) throw std::runtime_error("[ProteinListWrapper] Null ProteinListPtr.");
45  }

Member Function Documentation

§ size()

virtual size_t pwiz::proteome::ProteinListWrapper::size ( ) const
inlinevirtual

§ protein()

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

Member Data Documentation

§ inner_

ProteinListPtr pwiz::proteome::ProteinListWrapper::inner_
protected

Definition at line 53 of file ProteinListWrapper.hpp.

Referenced by protein(), and size().


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