CVTermListInterface

class pyopenms.CVTermListInterface

Bases: object

Cython implementation of _CVTermListInterface

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

– Inherits from [‘MetaInfoInterface’]

__init__()
  • Cython signature: void CVTermListInterface()

  • Cython signature: void CVTermListInterface(CVTermListInterface &)

Methods

__init__

  • Cython signature: void CVTermListInterface()

addCVTerm

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

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()

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

hasCVTerm

Cython signature: bool hasCVTerm(const String & accession) Checks whether the term has a value

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 & cv_term)

replaceCVTerms

  • Cython signature: void replaceCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] & cv_terms)

setCVTerms

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

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

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()

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

hasCVTerm()

Cython signature: bool hasCVTerm(const String & accession) Checks whether the term has a value

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 & cv_term)

replaceCVTerms()
  • Cython signature: void replaceCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] & cv_terms)

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

setCVTerms()

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

setMetaValue()

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