#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "model.h"
Compounds | |
struct | rnamlMODEL |
Functions | |
rnamlModel * | rnamlnewModel () |
Creates a new rnamlModel structure. | |
rnamlModel * | rnamlcloneModel (const rnamlModel *model) |
Clones a rnamlModel struture. | |
void | rnamldeleteModel (rnamlModel *model) |
Frees the rnamlModel structure. | |
int | rnamlisModel (const rnamlObject *obj) |
Tells wheter the object is a rnamlModel. | |
int | rnamlequalsModel (const rnamlModel *left, const rnamlModel *right) |
Tells if left and right are equals. | |
const char * | rnamlgetModelId (const rnamlModel *model) |
Gets the model id. | |
void | rnamlsetModelId (rnamlModel *model, const char *id) |
Sets the model id. | |
rnamlModelInfo * | rnamlgetModelModelInfo (rnamlModel *model) |
Gets the modelInfo from the model. | |
void | rnamlsetModelModelInfo (rnamlModel *model, rnamlModelInfo *modelInfo) |
Sets the model modelInfo. | |
void | rnamladdModelBase (rnamlModel *model, rnamlBase *base) |
Adds a base into a model. | |
xmlcpgList * | rnamlgetModelBases (rnamlModel *model) |
Gets the model's base list. | |
rnamlStrAnnotation * | rnamlgetModelStrAnnotation (rnamlModel *model) |
Gets the strAnnotation from the model. | |
void | rnamlsetModelStrAnnotation (rnamlModel *model, rnamlStrAnnotation *strAnnotation) |
Sets the model strAnnotation. | |
rnamlSecondaryStructureDisplay * | rnamlgetModelSecondaryStructureDisplay (rnamlModel *model) |
Gets the secondaryStructureDisplay from the model. | |
void | rnamlsetModelSecondaryStructureDisplay (rnamlModel *model, rnamlSecondaryStructureDisplay *secondaryStructureDisplay) |
Sets the model secondaryStructureDisplay. | |
xmlcpgObject * | rnamltoXMLModel (const rnamlModel *model) |
Translates the rnamlModel structure into a xmlcpgElement conforming to the RNAML standard. |
|
Adds a base into a model.
|
|
Clones a rnamlModel struture.
|
|
Frees the rnamlModel structure.
|
|
Tells if left and right are equals.
|
|
Gets the model's base list.
|
|
Gets the model id.
|
|
Gets the modelInfo from the model.
|
|
Gets the secondaryStructureDisplay from the model.
|
|
Gets the strAnnotation from the model.
|
|
Tells wheter the object is a rnamlModel.
|
|
Creates a new rnamlModel structure.
|
|
Sets the model id. The previous model id is freed and a copy of id is generated.
|
|
Sets the model modelInfo. The previous modelInfo info is freed
|
|
Sets the model secondaryStructureDisplay. The previous secondaryStructureDisplay info is freed
|
|
Sets the model strAnnotation. The previous strAnnotation info is freed
|
|
Translates the rnamlModel structure into a xmlcpgElement conforming to the RNAML standard.
|