#include <stdio.h>#include <stdlib.h>#include <string.h>#include "identity.h"Compounds | |
| struct | rnamlIDENTITY |
Functions | |
| rnamlIdentity * | rnamlnewIdentity () |
| Creates a new rnamlIdentity structure. | |
| rnamlIdentity * | rnamlcloneIdentity (const rnamlIdentity *identity) |
| Clones a rnamlIdentity struture. | |
| void | rnamldeleteIdentity (rnamlIdentity *identity) |
| Frees the rnamlIdentity structure. | |
| int | rnamlisIdentity (const rnamlObject *obj) |
| Tells wheter the object is a rnamlIdentity. | |
| int | rnamlequalsIdentity (const rnamlIdentity *left, const rnamlIdentity *right) |
| Tells if left and right are equals. | |
| const char * | rnamlgetIdentityName (const rnamlIdentity *identity) |
| Gets the name from the identity. | |
| void | rnamlsetIdentityName (rnamlIdentity *identity, const char *name) |
| Sets the identity name. | |
| rnamlTaxonomy * | rnamlgetIdentityTaxonomy (rnamlIdentity *identity) |
| Gets the taxonomy from the identity. | |
| void | rnamlsetIdentityTaxonomy (rnamlIdentity *identity, rnamlTaxonomy *taxonomy) |
| Sets the identity taxonomy. | |
| xmlcpgObject * | rnamltoXMLIdentity (const rnamlIdentity *identity) |
| Translates the rnamlIdentity structure into a xmlcpgElement conforming to the RNAML standard. | |
|
|
Clones a rnamlIdentity struture.
|
|
|
Frees the rnamlIdentity structure.
|
|
||||||||||||
|
Tells if left and right are equals.
|
|
|
Gets the name from the identity.
|
|
|
Gets the taxonomy from the identity.
|
|
|
Tells wheter the object is a rnamlIdentity.
|
|
|
Creates a new rnamlIdentity structure.
|
|
||||||||||||
|
Sets the identity name. The previous identity name is freed and a copy of name is generated.
|
|
||||||||||||
|
Sets the identity taxonomy. The previous taxonomy info is freed
|
|
|
Translates the rnamlIdentity structure into a xmlcpgElement conforming to the RNAML standard.
|
1.2.18