Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

rnaml::Person Class Reference

#include <Person.h>

Inheritance diagram for rnaml::Person:

rnaml::Object List of all members.

Public Methods

 Person ()
 Initializes the object.

 Person (const Person &right)
 Initializes the object with the right's content.

Person * clone () const
 Clones the object.

virtual ~Person ()
 Destroys the object.

Person & operator= (const Person &right)
 Assigns the object with the right's content.

const char * getFirstName () const
 Gets the person firstName.

void setFirstName (const char *firstName)
 Sets the person firstName.

const char * getLastName () const
 Gets the person lastName.

void setLastName (const char *lastName)
 Sets the person lastName.

std::vector< Affiliation * > & getAffiliations ()
 Gets the person affiliation collection.

void addAffiliation (Affiliation *affiliation)
 Adds a new affiliation.

virtual void setCStructure (rnamlObject *obj)
 Sets the person C substructure.


Private Attributes

std::vector< Affiliation * > affiliations
 The affiliation collection.


Constructor & Destructor Documentation

rnaml::Person::Person   [inline]
 

Initializes the object.

rnaml::Person::Person const Person &    right
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

rnaml::Person::~Person   [virtual]
 

Destroys the object.


Member Function Documentation

void rnaml::Person::addAffiliation Affiliation   affiliation
 

Adds a new affiliation.

Parameters:
affiliation  the object affiliation to add.

Person* rnaml::Person::clone   const [inline]
 

Clones the object.

Returns:
a copy of the object.

std::vector< Affiliation* >& rnaml::Person::getAffiliations   [inline]
 

Gets the person affiliation collection.

Returns:
the person affiliation collection vector.

const char* rnaml::Person::getFirstName   const [inline]
 

Gets the person firstName.

Returns:
the person firstName string.

const char* rnaml::Person::getLastName   const [inline]
 

Gets the person lastName.

Returns:
the person lastName string.

Person & rnaml::Person::operator= const Person &    right
 

Assigns the object with the right's content.

Parameters:
right  the object to copy.
Returns:
itself.

void rnaml::Person::setCStructure rnamlObject   obj [virtual]
 

Sets the person C substructure.

Parameters:
obj  the person C substructure.

Reimplemented from rnaml::Object.

void rnaml::Person::setFirstName const char *    firstName [inline]
 

Sets the person firstName.

Parameters:
firstName  the person firstName string.

void rnaml::Person::setLastName const char *    lastName [inline]
 

Sets the person lastName.

Parameters:
lastName  the person lastName string.


Member Data Documentation

std::vector< Affiliation* > rnaml::Person::affiliations [private]
 

The affiliation collection.


The documentation for this class was generated from the following files:
Generated on Tue Nov 11 14:59:56 2003 for xmlcpg by doxygen1.2.18