#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "person.h"
Compounds | |
struct | rnamlPERSON |
Functions | |
rnamlPerson * | rnamlnewPerson () |
Creates a new rnamlPerson structure. | |
rnamlPerson * | rnamlclonePerson (const rnamlPerson *person) |
Clones a rnamlPerson struture. | |
void | rnamldeletePerson (rnamlPerson *person) |
Frees the rnamlPerson structure. | |
int | rnamlisPerson (const rnamlObject *obj) |
Tells wheter the object is a rnamlPerson. | |
int | rnamlequalsPerson (const rnamlPerson *left, const rnamlPerson *right) |
Tells if left and right are equals. | |
const char * | rnamlgetPersonFirstName (const rnamlPerson *person) |
Gets the firstName from the person. | |
void | rnamlsetPersonFirstName (rnamlPerson *person, const char *firstName) |
Sets the person firstName. | |
const char * | rnamlgetPersonLastName (const rnamlPerson *person) |
Gets the lastName from the person. | |
void | rnamlsetPersonLastName (rnamlPerson *person, const char *lastName) |
Sets the person lastName. | |
void | rnamladdPersonAffiliation (rnamlPerson *person, rnamlAffiliation *affiliation) |
Adds a affiliation into a person. | |
xmlcpgList * | rnamlgetPersonAffiliations (rnamlPerson *person) |
Gets the person's affiliation list. | |
xmlcpgObject * | rnamltoXMLPerson (const rnamlPerson *person) |
Translates the rnamlPerson structure into a xmlcpgElement conforming to the RNAML standard. |
|
Adds a affiliation into a person.
|
|
Clones a rnamlPerson struture.
|
|
Frees the rnamlPerson structure.
|
|
Tells if left and right are equals.
|
|
Gets the person's affiliation list.
|
|
Gets the firstName from the person.
|
|
Gets the lastName from the person.
|
|
Tells wheter the object is a rnamlPerson.
|
|
Creates a new rnamlPerson structure.
|
|
Sets the person firstName. The previous person firstName is freed and a copy of firstName is generated.
|
|
Sets the person lastName. The previous person lastName is freed and a copy of lastName is generated.
|
|
Translates the rnamlPerson structure into a xmlcpgElement conforming to the RNAML standard.
|