StringDataArray

class pyopenms.StringDataArray

Bases: object

Cython implementation of _StringDataArray

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

– Inherits from [‘MetaInfoDescription’]

The representation of extra string data attached to a spectrum or chromatogram.

__init__()
  • Cython signature: void StringDataArray()

  • Cython signature: void StringDataArray(StringDataArray &)

Methods

__init__

  • Cython signature: void StringDataArray()

clear

Cython signature: void clear()

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

push_back

Cython signature: void push_back(String)

removeMetaValue

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

resize

Cython signature: void resize(size_t n)

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

size

Cython signature: size_t size()

clear()

Cython signature: void clear()

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

push_back()

Cython signature: void push_back(String)

removeMetaValue()

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

resize()

Cython signature: void resize(size_t n)

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

size()

Cython signature: size_t size()