Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes

ContactPerson Class Reference
[Metadata]

Contact person information. More...

#include <OpenMS/METADATA/ContactPerson.h>

Inheritance diagram for ContactPerson:
MetaInfoInterface

List of all members.

Public Member Functions

 ContactPerson ()
 Constructor.
 ContactPerson (const ContactPerson &source)
 Copy constructor.
 ~ContactPerson ()
 Destructor.
ContactPersonoperator= (const ContactPerson &source)
 Assignment operator.
bool operator== (const ContactPerson &rhs) const
 Equality operator.
bool operator!= (const ContactPerson &rhs) const
 Equality operator.
const StringgetFirstName () const
 returns the first name of the person
void setFirstName (const String &name)
 sets the first name of the person
const StringgetLastName () const
 returns the last name of the person
void setLastName (const String &name)
 sets the last name of the person
void setName (const String &name)
 sets the full name of the person (gets split into first and last name internally)
const StringgetInstitution () const
 returns the affiliation
void setInstitution (const String &institution)
 sets the affiliation
const StringgetEmail () const
 returns the email address
void setEmail (const String &email)
 sets the email address
const StringgetURL () const
 returns the email address
void setURL (const String &email)
 sets the email address
const StringgetAddress () const
 returns the address
void setAddress (const String &email)
 sets the address
const StringgetContactInfo () const
 returns miscellaneous info about the contact person
void setContactInfo (const String &contact_info)
 sets miscellaneous info about the contact person

Protected Attributes

String first_name_
String last_name_
String institution_
String email_
String contact_info_
String url_
String address_

Detailed Description

Contact person information.


Constructor & Destructor Documentation

ContactPerson (  ) 

Constructor.

ContactPerson ( const ContactPerson source  ) 

Copy constructor.

~ContactPerson (  ) 

Destructor.


Member Function Documentation

const String& getAddress (  )  const

returns the address

Referenced by MzMLHandler< MapType >::writeTo().

const String& getContactInfo (  )  const

returns miscellaneous info about the contact person

Referenced by MzMLHandler< MapType >::writeTo().

const String& getEmail (  )  const

returns the email address

Referenced by MzXMLHandler< MapType >::writeTo(), and MzMLHandler< MapType >::writeTo().

const String& getFirstName (  )  const

returns the first name of the person

Referenced by MzXMLHandler< MapType >::writeTo(), and MzMLHandler< MapType >::writeTo().

const String& getInstitution (  )  const

returns the affiliation

Referenced by MzMLHandler< MapType >::writeTo().

const String& getLastName (  )  const

returns the last name of the person

Referenced by MzXMLHandler< MapType >::writeTo(), and MzMLHandler< MapType >::writeTo().

const String& getURL (  )  const

returns the email address

Referenced by MzXMLHandler< MapType >::writeTo(), and MzMLHandler< MapType >::writeTo().

bool operator!= ( const ContactPerson rhs  )  const

Equality operator.

ContactPerson& operator= ( const ContactPerson source  ) 

Assignment operator.

bool operator== ( const ContactPerson rhs  )  const

Equality operator.

void setAddress ( const String email  ) 

sets the address

void setContactInfo ( const String contact_info  ) 

sets miscellaneous info about the contact person

Referenced by DBAdapter::loadExperiment().

void setEmail ( const String email  ) 

sets the email address

Referenced by DBAdapter::loadExperiment().

void setFirstName ( const String name  ) 

sets the first name of the person

Referenced by DBAdapter::loadExperiment().

void setInstitution ( const String institution  ) 

sets the affiliation

Referenced by DBAdapter::loadExperiment().

void setLastName ( const String name  ) 

sets the last name of the person

Referenced by DBAdapter::loadExperiment().

void setName ( const String name  ) 

sets the full name of the person (gets split into first and last name internally)

void setURL ( const String email  ) 

sets the email address


Member Data Documentation

String address_ [protected]
String contact_info_ [protected]
String email_ [protected]
String first_name_ [protected]
String institution_ [protected]
String last_name_ [protected]
String url_ [protected]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:55 using doxygen 1.7.1