MetaInfoDescription#

class pyopenms.MetaInfoDescription#

Bases: object

Cython implementation of _MetaInfoDescription

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1MetaInfoDescription.html

– Inherits from [‘MetaInfoInterface’]

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

  • Cython signature: void MetaInfoDescription(MetaInfoDescription &)

Methods

__init__

  • Cython signature: void MetaInfoDescription()

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

getDataProcessing

Cython signature: libcpp_vector[shared_ptr[DataProcessing]] getDataProcessing() Returns a reference to the description of the applied processing

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

getMetaValue

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

getName

Cython signature: String getName() Returns the name of the peak annotations

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

setDataProcessing

Cython signature: void setDataProcessing(libcpp_vector[shared_ptr[DataProcessing]]) Sets the description of the applied processing

setMetaValue

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

setName

Cython signature: void setName(String name) Sets the name of the peak annotations

clearMetaInfo()#

Cython signature: void clearMetaInfo() Removes all meta values

getDataProcessing()#

Cython signature: libcpp_vector[shared_ptr[DataProcessing]] getDataProcessing() Returns a reference to the description of the applied processing

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

getMetaValue()#

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

getName()#

Cython signature: String getName() Returns the name of the peak annotations

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

setDataProcessing()#

Cython signature: void setDataProcessing(libcpp_vector[shared_ptr[DataProcessing]]) Sets the description of the applied processing

setMetaValue()#

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

setName()#

Cython signature: void setName(String name) Sets the name of the peak annotations