Public Member Functions | Public Attributes
pwiz::proteome::ProteinListSimple Struct Reference

#include <ProteomeData.hpp>

Inheritance diagram for pwiz::proteome::ProteinListSimple:

List of all members.

Public Member Functions

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

Public Attributes

std::vector< ProteinPtrproteins

Detailed Description

Definition at line 76 of file ProteomeData.hpp.

Member Function Documentation

virtual size_t pwiz::proteome::ProteinListSimple::size ( ) const

Implements pwiz::proteome::ProteinList.

Definition at line 82 of file ProteomeData.hpp.

{return proteins.size();}
virtual bool pwiz::proteome::ProteinListSimple::empty ( ) const

Reimplemented from pwiz::proteome::ProteinList.

Definition at line 83 of file ProteomeData.hpp.

{return proteins.empty();}
virtual ProteinPtr pwiz::proteome::ProteinListSimple::protein ( size_t  index,
bool  getSequence = true 
) const

Member Data Documentation

std::vector<ProteinPtr> pwiz::proteome::ProteinListSimple::proteins

Definition at line 78 of file ProteomeData.hpp.

Referenced by testProteinList().

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