OpenMS  2.8.0
Public Member Functions | Private Attributes | List of all members
OSWProtein Class Reference

A Protein is the highest entity and contains one or more peptides which were found/traced. More...

#include <OpenMS/DATASTRUCTURES/OSWData.h>

Collaboration diagram for OSWProtein:
[legend]

Public Member Functions

 OSWProtein ()=default
 just a dummy feature to allow for acceptor output values etc More...
 
 OSWProtein (const String &accession, const Size id, std::vector< OSWPeptidePrecursor > &&peptides)
 custom c'tor which fills all the members with data; all members are read-only More...
 
 OSWProtein (const OSWProtein &rhs)=default
 Copy c'tor. More...
 
OSWProteinoperator= (const OSWProtein &rhs)=default
 assignment operator More...
 
 OSWProtein (OSWProtein &&rhs)=default
 move c'tor More...
 
OSWProteinoperator= (OSWProtein &&rhs)=default
 move assignment operator More...
 
const StringgetAccession () const
 
Size getID () const
 
const std::vector< OSWPeptidePrecursor > & getPeptidePrecursors () const
 

Private Attributes

String accession_
 
Size id_
 
std::vector< OSWPeptidePrecursorpeptides_
 

Detailed Description

A Protein is the highest entity and contains one or more peptides which were found/traced.

Constructor & Destructor Documentation

◆ OSWProtein() [1/4]

OSWProtein ( )
default

just a dummy feature to allow for acceptor output values etc

◆ OSWProtein() [2/4]

OSWProtein ( const String accession,
const Size  id,
std::vector< OSWPeptidePrecursor > &&  peptides 
)

custom c'tor which fills all the members with data; all members are read-only

◆ OSWProtein() [3/4]

OSWProtein ( const OSWProtein rhs)
default

Copy c'tor.

◆ OSWProtein() [4/4]

OSWProtein ( OSWProtein &&  rhs)
default

move c'tor

Member Function Documentation

◆ getAccession()

const String& getAccession ( ) const
inline

◆ getID()

Size getID ( ) const
inline

◆ getPeptidePrecursors()

const std::vector<OSWPeptidePrecursor>& getPeptidePrecursors ( ) const
inline

◆ operator=() [1/2]

OSWProtein& operator= ( const OSWProtein rhs)
default

assignment operator

◆ operator=() [2/2]

OSWProtein& operator= ( OSWProtein &&  rhs)
default

move assignment operator

Member Data Documentation

◆ accession_

String accession_
private

◆ id_

Size id_
private

◆ peptides_

std::vector<OSWPeptidePrecursor> peptides_
private