ProteoWizard
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
pwiz::proteome::IPIFASTADatabase Class Reference

class for accessing data in ipi.*.fasta files More...

#include <IPIFASTADatabase.hpp>

Classes

struct  Record
 structure for holding peptide info More...
 

Public Types

typedef std::vector< Record >::const_iterator const_iterator
 typedef to simplify declaration of Record iterator More...
 

Public Member Functions

 IPIFASTADatabase (const std::string &filename)
 constructor reads in entire file More...
 
 ~IPIFASTADatabase ()
 
const std::vector< Record > & records () const
 access to the data in memory More...
 
const_iterator begin ()
 
const_iterator end ()
 

Private Attributes

std::auto_ptr< Impl > impl_
 

Detailed Description

class for accessing data in ipi.*.fasta files

Definition at line 40 of file IPIFASTADatabase.hpp.

Member Typedef Documentation

§ const_iterator

typedef to simplify declaration of Record iterator

Definition at line 64 of file IPIFASTADatabase.hpp.

Constructor & Destructor Documentation

§ IPIFASTADatabase()

pwiz::proteome::IPIFASTADatabase::IPIFASTADatabase ( const std::string &  filename)

constructor reads in entire file

§ ~IPIFASTADatabase()

pwiz::proteome::IPIFASTADatabase::~IPIFASTADatabase ( )

Member Function Documentation

§ records()

const std::vector<Record>& pwiz::proteome::IPIFASTADatabase::records ( ) const

access to the data in memory

Referenced by test(), and testRealDatabase().

§ begin()

const_iterator pwiz::proteome::IPIFASTADatabase::begin ( )

§ end()

const_iterator pwiz::proteome::IPIFASTADatabase::end ( )

Member Data Documentation

§ impl_

std::auto_ptr<Impl> pwiz::proteome::IPIFASTADatabase::impl_
private

Definition at line 71 of file IPIFASTADatabase.hpp.


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