ProteoWizard
Public Types | Public Member Functions | Static Public Member Functions
pwiz::proteome::PeptideDatabase Class Reference

#include <PeptideDatabase.hpp>

List of all members.

Public Types

typedef const
PeptideDatabaseRecord
iterator

Public Member Functions

virtual ~PeptideDatabase ()
virtual int size () const =0
virtual const
PeptideDatabaseRecord
records () const =0
virtual std::string sequence (const PeptideDatabaseRecord &record) const =0
virtual void append (const PeptideDatabaseRecord &record, const std::string &sequence="")=0
virtual void write (const std::string &filename) const =0
iterator begin () const
iterator end () const
iterator mass_lower_bound (double mass) const
iterator mass_upper_bound (double mass) const

Static Public Member Functions

static std::auto_ptr
< PeptideDatabase
create ()
static std::auto_ptr< const
PeptideDatabase
create (const std::string &filename)

Detailed Description

Definition at line 76 of file PeptideDatabase.hpp.


Member Typedef Documentation

Definition at line 95 of file PeptideDatabase.hpp.


Constructor & Destructor Documentation

virtual pwiz::proteome::PeptideDatabase::~PeptideDatabase ( )
inlinevirtual

Definition at line 82 of file PeptideDatabase.hpp.

{}

Member Function Documentation

static std::auto_ptr<PeptideDatabase> pwiz::proteome::PeptideDatabase::create ( )
static
static std::auto_ptr<const PeptideDatabase> pwiz::proteome::PeptideDatabase::create ( const std::string &  filename)
static
virtual int pwiz::proteome::PeptideDatabase::size ( ) const
pure virtual

Referenced by test_basic().

virtual const PeptideDatabaseRecord* pwiz::proteome::PeptideDatabase::records ( ) const
pure virtual

Referenced by test_basic().

virtual std::string pwiz::proteome::PeptideDatabase::sequence ( const PeptideDatabaseRecord record) const
pure virtual

Referenced by compareRecords(), and test_basic().

virtual void pwiz::proteome::PeptideDatabase::append ( const PeptideDatabaseRecord record,
const std::string &  sequence = "" 
)
pure virtual
virtual void pwiz::proteome::PeptideDatabase::write ( const std::string &  filename) const
pure virtual
iterator pwiz::proteome::PeptideDatabase::begin ( ) const
inline

Definition at line 96 of file PeptideDatabase.hpp.

Referenced by test_basic(), and test_range().

{return records();}
iterator pwiz::proteome::PeptideDatabase::end ( ) const
inline

Definition at line 97 of file PeptideDatabase.hpp.

Referenced by test_basic().

{return records() + size();}
iterator pwiz::proteome::PeptideDatabase::mass_lower_bound ( double  mass) const

Referenced by test_range().

iterator pwiz::proteome::PeptideDatabase::mass_upper_bound ( double  mass) const

Referenced by test_range().


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