ProteoWizard
Public Member Functions
FilterWrapper Class Reference
Inheritance diagram for FilterWrapper:
pwiz::proteome::ProteinListWrapper pwiz::proteome::ProteinList

List of all members.

Public Member Functions

 FilterWrapper (const SpectrumListPtr &inner)
virtual size_t size () const
virtual const SpectrumIdentityspectrumIdentity (size_t index) const
virtual SpectrumPtr spectrum (size_t index, bool getBinaryData=false) const
 FilterWrapper (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::ProteinListWrapper
 ProteinListWrapper (const ProteinListPtr &inner)
- 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 ()

Additional Inherited Members

- Protected Attributes inherited from pwiz::proteome::ProteinListWrapper
ProteinListPtr inner_

Detailed Description

Definition at line 51 of file SpectrumListWrapperTest.cpp.


Constructor & Destructor Documentation

FilterWrapper::FilterWrapper ( const SpectrumListPtr inner)
inline

Definition at line 57 of file SpectrumListWrapperTest.cpp.

{}
FilterWrapper::FilterWrapper ( const ProteinListPtr inner)
inline

Definition at line 54 of file ProteinListWrapperTest.cpp.

{}

Member Function Documentation

virtual size_t FilterWrapper::size ( ) const
inlinevirtual

Reimplemented from pwiz::proteome::ProteinListWrapper.

Definition at line 61 of file SpectrumListWrapperTest.cpp.

{return inner_->size()/2;}
virtual const SpectrumIdentity& FilterWrapper::spectrumIdentity ( size_t  index) const
inlinevirtual

Definition at line 62 of file SpectrumListWrapperTest.cpp.

{return inner_->spectrumIdentity(index*2);}
virtual SpectrumPtr FilterWrapper::spectrum ( size_t  index,
bool  getBinaryData = false 
) const
inlinevirtual

Definition at line 63 of file SpectrumListWrapperTest.cpp.

{return inner_->spectrum(index*2, getBinaryData);}
virtual size_t FilterWrapper::size ( ) const
inlinevirtual

Reimplemented from pwiz::proteome::ProteinListWrapper.

Definition at line 58 of file ProteinListWrapperTest.cpp.

{return inner_->size()/2;}
virtual ProteinPtr FilterWrapper::protein ( size_t  index,
bool  getSequence = true 
) const
inlinevirtual

Reimplemented from pwiz::proteome::ProteinListWrapper.

Definition at line 59 of file ProteinListWrapperTest.cpp.

{return inner_->protein(index*2, getSequence);}

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