#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "reference.h"
Compounds | |
struct | rnamlREFERENCE |
Functions | |
rnamlReference * | rnamlnewReference () |
Creates a new rnamlReference structure. | |
rnamlReference * | rnamlcloneReference (const rnamlReference *reference) |
Clones a rnamlReference struture. | |
void | rnamldeleteReference (rnamlReference *reference) |
Frees the rnamlReference structure. | |
int | rnamlisReference (const rnamlObject *obj) |
Tells wheter the object is a rnamlReference. | |
int | rnamlequalsReference (const rnamlReference *left, const rnamlReference *right) |
Tells if left and right are equals. | |
const char * | rnamlgetReferenceId (const rnamlReference *reference) |
Gets the reference id. | |
void | rnamlsetReferenceId (rnamlReference *reference, const char *id) |
Sets the reference id. | |
void | rnamladdReferenceChild (rnamlReference *reference, rnamlObject *obj) |
Adds a reference child. | |
xmlcpgList * | rnamlgetReferenceChildren (const rnamlReference *reference) |
Gets the children from the reference collection. | |
xmlcpgObject * | rnamltoXMLReference (const rnamlReference *reference) |
Translates the rnamlReference structure into a xmlcpgElement conforming to the RNAML standard. |
|
Adds a reference child.
|
|
Clones a rnamlReference struture.
|
|
Frees the rnamlReference structure.
|
|
Tells if left and right are equals.
|
|
Gets the children from the reference collection.
|
|
Gets the reference id.
|
|
Tells wheter the object is a rnamlReference.
|
|
Creates a new rnamlReference structure.
|
|
Sets the reference id. The previous reference id is freed and a copy of id is generated.
|
|
Translates the rnamlReference structure into a xmlcpgElement conforming to the RNAML standard.
|