| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
LightCompound Struct Reference

`#include <OpenMS/OPENSWATHALGO/DATAACCESS/TransitionExperiment.h>`

## Public Member Functions

| LightCompound ()
bool | isPeptide () const
void | setChargeState (int ch)
int | getChargeState () const
void | setDriftTime (double d)
double | getDriftTime () const

## Public Attributes

double | drift_time
double | rt
int | charge
std::string | sequence
std::vector< std::string > | protein_refs
std::string | peptide_group_label
std::string | gene_name
std::string | id
std::string | sum_formula
std::string | compound_name
std::vector< LightModification > | modifications

## Constructor & Destructor Documentation

## ◆ LightCompound()

LightCompound | ( |  | ) |

inline

## Member Function Documentation

## ◆ getChargeState()

int getChargeState | ( |  | ) | const

inline

References LightCompound::charge.

## ◆ getDriftTime()

double getDriftTime | ( |  | ) | const

inline

References LightCompound::drift_time.

## ◆ isPeptide()

bool isPeptide | ( |  | ) | const

inline

References LightCompound::compound_name.

## ◆ setChargeState()

void setChargeState | ( | int | ch | ) |

inline

References LightCompound::charge.

## ◆ setDriftTime()

void setDriftTime | ( | double | d | ) |

inline

References LightCompound::drift_time.

## Member Data Documentation

## ◆ charge

int charge

Referenced by OpenMS::ChromatogramExtractor::extract_id_< OpenSwath::LightTargetedExperiment >(), LightCompound::getChargeState(), and LightCompound::setChargeState().

## ◆ compound_name

std::string compound_name

Referenced by OpenMS::ChromatogramExtractor::extract_id_< OpenSwath::LightTargetedExperiment >(), and LightCompound::isPeptide().

## ◆ drift_time

double drift_time

Referenced by LightCompound::getDriftTime(), and LightCompound::setDriftTime().

## ◆ gene_name

std::string gene_name

## ◆ id

std::string id

## ◆ modifications

std::vector<LightModification> modifications

## ◆ peptide_group_label

std::string peptide_group_label

## ◆ protein_refs

std::vector<std::string> protein_refs

## ◆ rt

double rt

## ◆ sequence

std::string sequence

Referenced by OpenMS::ChromatogramExtractor::extract_id_< OpenSwath::LightTargetedExperiment >().

## ◆ sum_formula

std::string sum_formula