Classes | Public Types | Public Member Functions | Private Attributes
pwiz::proteome::IPIFASTADatabase Class Reference

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

#include <IPIFASTADatabase.hpp>

List of all members.


struct  Record
 structure for holding peptide info More...

Public Types

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

Public Member Functions

 IPIFASTADatabase (const std::string &filename)
 constructor reads in entire file
 ~IPIFASTADatabase ()
const std::vector< Record > & records () const
 access to the data in memory
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

typedef to simplify declaration of Record iterator

Definition at line 64 of file IPIFASTADatabase.hpp.

Constructor & Destructor Documentation

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

constructor reads in entire file

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

Member Function Documentation

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

access to the data in memory

Referenced by test(), and testRealDatabase().

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

Member Data Documentation

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

Definition at line 71 of file IPIFASTADatabase.hpp.

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