TraMLProduct#

class pyopenms.TraMLProduct#

Bases: object

Cython implementation of _TraMLProduct

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS::TargetedExperimentHelper::RetentionTime::RTUnit_1_1TraMLProduct.html

– Inherits from [‘CVTermList’]

__init__()#
  • Cython signature: void TraMLProduct()

  • Cython signature: void TraMLProduct(TraMLProduct &)

Methods

__init__

  • Cython signature: void TraMLProduct()

addCVTerm

Cython signature: void addCVTerm(CVTerm & term) Adds a CV term

addConfiguration

Cython signature: void addConfiguration(Configuration configuration)

addInterpretation

Cython signature: void addInterpretation(TargetedExperiment_Interpretation interpretation)

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

consumeCVTerms

Cython signature: void consumeCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] cv_term_map) Merges the given map into the member map, no duplicate checking

empty

Cython signature: bool empty()

getCVTerms

Cython signature: libcpp_map[String,libcpp_vector[CVTerm]] getCVTerms() Returns the accession string of the term

getChargeState

Cython signature: int getChargeState()

getConfigurationList

Cython signature: libcpp_vector[Configuration] getConfigurationList()

getInterpretationList

Cython signature: libcpp_vector[TargetedExperiment_Interpretation] getInterpretationList()

getKeys

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMZ

Cython signature: double getMZ()

getMetaValue

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

hasCVTerm

Cython signature: bool hasCVTerm(String accession)

hasCharge

Cython signature: bool hasCharge()

isMetaEmpty

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

replaceCVTerm

Cython signature: void replaceCVTerm(CVTerm & term) Replaces the specified CV term

replaceCVTerms

Cython signature: void replaceCVTerms(libcpp_vector[CVTerm] cv_terms, String accession)

resetInterpretations

Cython signature: void resetInterpretations()

setCVTerms

Cython signature: void setCVTerms(libcpp_vector[CVTerm] & terms) Sets the CV terms

setChargeState

Cython signature: void setChargeState(int charge)

setMZ

Cython signature: void setMZ(double mz)

setMetaValue

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name

addCVTerm()#

Cython signature: void addCVTerm(CVTerm & term) Adds a CV term

addConfiguration()#

Cython signature: void addConfiguration(Configuration configuration)

addInterpretation()#

Cython signature: void addInterpretation(TargetedExperiment_Interpretation interpretation)

clearMetaInfo()#

Cython signature: void clearMetaInfo() Removes all meta values

consumeCVTerms()#

Cython signature: void consumeCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] cv_term_map) Merges the given map into the member map, no duplicate checking

empty()#

Cython signature: bool empty()

getCVTerms()#

Cython signature: libcpp_map[String,libcpp_vector[CVTerm]] getCVTerms() Returns the accession string of the term

getChargeState()#

Cython signature: int getChargeState()

getConfigurationList()#

Cython signature: libcpp_vector[Configuration] getConfigurationList()

getInterpretationList()#

Cython signature: libcpp_vector[TargetedExperiment_Interpretation] getInterpretationList()

getKeys()#

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMZ()#

Cython signature: double getMZ()

getMetaValue()#

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

hasCVTerm()#

Cython signature: bool hasCVTerm(String accession)

hasCharge()#

Cython signature: bool hasCharge()

isMetaEmpty()#

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry()#

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists()#

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue()#

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

replaceCVTerm()#

Cython signature: void replaceCVTerm(CVTerm & term) Replaces the specified CV term

replaceCVTerms()#

Cython signature: void replaceCVTerms(libcpp_vector[CVTerm] cv_terms, String accession)

resetInterpretations()#

Cython signature: void resetInterpretations()

setCVTerms()#

Cython signature: void setCVTerms(libcpp_vector[CVTerm] & terms) Sets the CV terms

setChargeState()#

Cython signature: void setChargeState(int charge)

setMZ()#

Cython signature: void setMZ(double mz)

setMetaValue()#

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name