OpenMS  2.4.0
Public Member Functions | Protected Attributes | List of all members
MzTab Class Reference

Data model of MzTab files. Please see the official MzTab specification at https://code.google.com/p/mztab/. More...

#include <OpenMS/FORMAT/MzTab.h>

Public Member Functions

 MzTab ()
 Default constructor. More...
 
virtual ~MzTab ()
 Destructor. More...
 
const MzTabMetaDatagetMetaData () const
 
void setMetaData (const MzTabMetaData &md)
 
const MzTabProteinSectionRowsgetProteinSectionRows () const
 
void setProteinSectionRows (const MzTabProteinSectionRows &psd)
 
const MzTabPeptideSectionRowsgetPeptideSectionRows () const
 
void setPeptideSectionRows (const MzTabPeptideSectionRows &psd)
 
const MzTabPSMSectionRowsgetPSMSectionRows () const
 
void setPSMSectionRows (const MzTabPSMSectionRows &psd)
 
void setCommentRows (const std::map< Size, String > &com)
 
void setEmptyRows (const std::vector< Size > &empty)
 
const std::vector< Size > & getEmptyRows () const
 
const std::map< Size, String > & getCommentRows () const
 
const MzTabSmallMoleculeSectionRowsgetSmallMoleculeSectionRows () const
 
void setSmallMoleculeSectionRows (const MzTabSmallMoleculeSectionRows &smsd)
 
std::vector< StringgetProteinOptionalColumnNames () const
 
std::vector< StringgetPeptideOptionalColumnNames () const
 
std::vector< StringgetPSMOptionalColumnNames () const
 
std::vector< StringgetSmallMoleculeOptionalColumnNames () const
 

Protected Attributes

MzTabMetaData meta_data_
 
MzTabProteinSectionRows protein_data_
 
MzTabPeptideSectionRows peptide_data_
 
MzTabPSMSectionRows psm_data_
 
MzTabSmallMoleculeSectionRows small_molecule_data_
 
std::vector< Sizeempty_rows_
 
std::map< Size, Stringcomment_rows_
 

Detailed Description

Data model of MzTab files. Please see the official MzTab specification at https://code.google.com/p/mztab/.

Constructor & Destructor Documentation

◆ MzTab()

MzTab ( )

Default constructor.

◆ ~MzTab()

virtual ~MzTab ( )
virtual

Destructor.

Member Function Documentation

◆ getCommentRows()

const std::map<Size, String>& getCommentRows ( ) const

◆ getEmptyRows()

const std::vector<Size>& getEmptyRows ( ) const

◆ getMetaData()

const MzTabMetaData& getMetaData ( ) const

◆ getPeptideOptionalColumnNames()

std::vector<String> getPeptideOptionalColumnNames ( ) const

◆ getPeptideSectionRows()

const MzTabPeptideSectionRows& getPeptideSectionRows ( ) const

◆ getProteinOptionalColumnNames()

std::vector<String> getProteinOptionalColumnNames ( ) const

◆ getProteinSectionRows()

const MzTabProteinSectionRows& getProteinSectionRows ( ) const

◆ getPSMOptionalColumnNames()

std::vector<String> getPSMOptionalColumnNames ( ) const

◆ getPSMSectionRows()

const MzTabPSMSectionRows& getPSMSectionRows ( ) const

◆ getSmallMoleculeOptionalColumnNames()

std::vector<String> getSmallMoleculeOptionalColumnNames ( ) const

◆ getSmallMoleculeSectionRows()

const MzTabSmallMoleculeSectionRows& getSmallMoleculeSectionRows ( ) const

◆ setCommentRows()

void setCommentRows ( const std::map< Size, String > &  com)

◆ setEmptyRows()

void setEmptyRows ( const std::vector< Size > &  empty)

◆ setMetaData()

void setMetaData ( const MzTabMetaData md)

◆ setPeptideSectionRows()

void setPeptideSectionRows ( const MzTabPeptideSectionRows psd)

◆ setProteinSectionRows()

void setProteinSectionRows ( const MzTabProteinSectionRows psd)

◆ setPSMSectionRows()

void setPSMSectionRows ( const MzTabPSMSectionRows psd)

◆ setSmallMoleculeSectionRows()

void setSmallMoleculeSectionRows ( const MzTabSmallMoleculeSectionRows smsd)

Member Data Documentation

◆ comment_rows_

std::map<Size, String> comment_rows_
protected

◆ empty_rows_

std::vector<Size> empty_rows_
protected

◆ meta_data_

MzTabMetaData meta_data_
protected

◆ peptide_data_

MzTabPeptideSectionRows peptide_data_
protected

◆ protein_data_

MzTabProteinSectionRows protein_data_
protected

◆ psm_data_

MzTabPSMSectionRows psm_data_
protected

◆ small_molecule_data_

MzTabSmallMoleculeSectionRows small_molecule_data_
protected