Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

ContactPerson Class Reference
[Metadata]

#include <OpenMS/METADATA/ContactPerson.h>

Inheritance diagram for ContactPerson:

MetaInfoInterface

List of all members.


Detailed Description

Contact person information.

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 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_

Constructor & Destructor Documentation

ContactPerson (  ) 

Constructor.

ContactPerson ( const ContactPerson source  ) 

Copy constructor.

~ContactPerson (  ) 

Destructor.


Member Function Documentation

ContactPerson& operator= ( const ContactPerson source  ) 

Assignment operator.

bool operator== ( const ContactPerson rhs  )  const

Equality operator.

bool operator!= ( const ContactPerson rhs  )  const

Equality operator.

const String& getFirstName (  )  const

returns the first name of the person

void setFirstName ( const String name  ) 

sets the first name of the person

const String& getLastName (  )  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 String& getInstitution (  )  const

returns the affiliation

void setInstitution ( const String institution  ) 

sets the affiliation

const String& getEmail (  )  const

returns the email address

void setEmail ( const String email  ) 

sets the email address

const String& getContactInfo (  )  const

returns miscellaneous info about the contact person

void setContactInfo ( const String contact_info  ) 

sets miscellaneous info about the contact person


Member Data Documentation

String first_name_ [protected]

String last_name_ [protected]

String institution_ [protected]

String email_ [protected]

String contact_info_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:46 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1