ContactPerson#

class pyopenms.ContactPerson#

Bases: object

Cython implementation of _ContactPerson

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

– Inherits from [‘MetaInfoInterface’]

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

  • Cython signature: void ContactPerson(ContactPerson &)

Methods

__init__

  • Cython signature: void ContactPerson()

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

getAddress

Cython signature: String getAddress() Returns the address

getContactInfo

Cython signature: String getContactInfo() Returns miscellaneous info about the contact person

getEmail

Cython signature: String getEmail() Returns the email address

getFirstName

Cython signature: String getFirstName() Returns the first name of the person

getInstitution

Cython signature: String getInstitution() Returns the affiliation

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

getLastName

Cython signature: String getLastName() Returns the last name of the person

getMetaValue

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

getURL

Cython signature: String getURL() Returns the URL associated with the contact person (e.g., the institute webpage

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

setAddress

Cython signature: void setAddress(String email) Sets the address

setContactInfo

Cython signature: void setContactInfo(String contact_info) Sets miscellaneous info about the contact person

setEmail

Cython signature: void setEmail(String email) Sets the email address

setFirstName

Cython signature: void setFirstName(String name) Sets the first name of the person

setInstitution

Cython signature: void setInstitution(String institution) Sets the affiliation

setLastName

Cython signature: void setLastName(String name) Sets the last name of the person

setMetaValue

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

setName

Cython signature: void setName(String name) Sets the full name of the person (gets split into first and last name internally)

setURL

Cython signature: void setURL(String email) Sets the URL associated with the contact person (e.g., the institute webpage

clearMetaInfo()#

Cython signature: void clearMetaInfo() Removes all meta values

getAddress()#

Cython signature: String getAddress() Returns the address

getContactInfo()#

Cython signature: String getContactInfo() Returns miscellaneous info about the contact person

getEmail()#

Cython signature: String getEmail() Returns the email address

getFirstName()#

Cython signature: String getFirstName() Returns the first name of the person

getInstitution()#

Cython signature: String getInstitution() Returns the affiliation

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

getLastName()#

Cython signature: String getLastName() Returns the last name of the person

getMetaValue()#

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

getURL()#

Cython signature: String getURL() Returns the URL associated with the contact person (e.g., the institute webpage

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

setAddress()#

Cython signature: void setAddress(String email) Sets the address

setContactInfo()#

Cython signature: void setContactInfo(String contact_info) Sets miscellaneous info about the contact person

setEmail()#

Cython signature: void setEmail(String email) Sets the email address

setFirstName()#

Cython signature: void setFirstName(String name) Sets the first name of the person

setInstitution()#

Cython signature: void setInstitution(String institution) Sets the affiliation

setLastName()#

Cython signature: void setLastName(String name) Sets the last name of the person

setMetaValue()#

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

setName()#

Cython signature: void setName(String name) Sets the full name of the person (gets split into first and last name internally)

setURL()#

Cython signature: void setURL(String email) Sets the URL associated with the contact person (e.g., the institute webpage