#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "segment.h"
Compounds | |
struct | rnamlSEGMENT |
Functions | |
rnamlSegment * | rnamlnewSegment () |
Creates a new rnamlSegment structure. | |
rnamlSegment * | rnamlcloneSegment (const rnamlSegment *segment) |
Clones a rnamlSegment struture. | |
void | rnamldeleteSegment (rnamlSegment *segment) |
Frees the rnamlSegment structure. | |
int | rnamlisSegment (const rnamlObject *obj) |
Tells wheter the object is a rnamlSegment. | |
int | rnamlequalsSegment (const rnamlSegment *left, const rnamlSegment *right) |
Tells if left and right are equals. | |
const char * | rnamlgetSegmentSegName (const rnamlSegment *segment) |
Gets the segName from the segment. | |
void | rnamlsetSegmentSegName (rnamlSegment *segment, const char *segName) |
Sets the segment segName. | |
rnamlBaseId5p * | rnamlgetSegmentBaseId5p (rnamlSegment *segment) |
Gets the baseId5p from the segment. | |
void | rnamlsetSegmentBaseId5p (rnamlSegment *segment, rnamlBaseId5p *baseId5p) |
Sets the segment baseId5p. | |
rnamlObject * | rnamlgetSegmentEnd (rnamlSegment *segment) |
Gets the segment end. | |
void | rnamlsetSegmentEnd (rnamlSegment *segment, rnamlObject *obj) |
Sets the segment end. | |
xmlcpgObject * | rnamltoXMLSegment (const rnamlSegment *segment) |
Translates the rnamlSegment structure into a xmlcpgElement conforming to the RNAML standard. |
|
Clones a rnamlSegment struture.
|
|
Frees the rnamlSegment structure.
|
|
Tells if left and right are equals.
|
|
Gets the baseId5p from the segment.
|
|
Gets the segment end.
|
|
Gets the segName from the segment.
|
|
Tells wheter the object is a rnamlSegment.
|
|
Creates a new rnamlSegment structure.
|
|
Sets the segment baseId5p. The previous baseId5p info is freed
|
|
Sets the segment end. The previous end is freed.
|
|
Sets the segment segName. The previous segment segName is freed and a copy of segName is generated.
|
|
Translates the rnamlSegment structure into a xmlcpgElement conforming to the RNAML standard.
|