#include "object.h"
#include "xmlcpg.h"
Go to the source code of this file.
Typedefs | |
typedef rnamlATOM | rnamlAtom |
Rnaml structure containing the atom informations. | |
Functions | |
rnamlAtom * | rnamlnewAtom () |
Creates a new rnamlAtom structure. | |
rnamlAtom * | rnamlcloneAtom (const rnamlAtom *atom) |
Clones a rnamlAtom struture. | |
void | rnamldeleteAtom (rnamlAtom *atom) |
Frees the rnamlAtom structure. | |
int | rnamlisAtom (const rnamlObject *obj) |
Tells wheter the object is a rnamlAtom. | |
int | rnamlequalsAtom (const rnamlAtom *left, const rnamlAtom *right) |
Tells if left and right are equals. | |
const char * | rnamlgetAtomSerial (const rnamlAtom *atom) |
Gets the atom serial. | |
void | rnamlsetAtomSerial (rnamlAtom *atom, const char *serial) |
Sets the atom serial. | |
const char * | rnamlgetAtomAtomType (const rnamlAtom *atom) |
Gets the atomType from the atom. | |
void | rnamlsetAtomAtomType (rnamlAtom *atom, const char *atomType) |
Sets the atom atomType. | |
float | rnamlgetAtomX (const rnamlAtom *atom) |
Gets the x from the atom. | |
void | rnamlsetAtomX (rnamlAtom *atom, float x) |
Sets the atom x. | |
float | rnamlgetAtomY (const rnamlAtom *atom) |
Gets the y from the atom. | |
void | rnamlsetAtomY (rnamlAtom *atom, float y) |
Sets the atom y. | |
float | rnamlgetAtomZ (const rnamlAtom *atom) |
Gets the z from the atom. | |
void | rnamlsetAtomZ (rnamlAtom *atom, float z) |
Sets the atom z. | |
float | rnamlgetAtomOccupancy (const rnamlAtom *atom) |
Gets the occupancy from the atom. | |
void | rnamlsetAtomOccupancy (rnamlAtom *atom, float occupancy) |
Sets the atom occupancy. | |
float | rnamlgetAtomTempFactor (const rnamlAtom *atom) |
Gets the tempFactor from the atom. | |
void | rnamlsetAtomTempFactor (rnamlAtom *atom, float tempFactor) |
Sets the atom tempFactor. | |
const char * | rnamlgetAtomSegId (const rnamlAtom *atom) |
Gets the segId from the atom. | |
void | rnamlsetAtomSegId (rnamlAtom *atom, const char *segId) |
Sets the atom segId. | |
const char * | rnamlgetAtomElement (const rnamlAtom *atom) |
Gets the element from the atom. | |
void | rnamlsetAtomElement (rnamlAtom *atom, const char *element) |
Sets the atom element. | |
const char * | rnamlgetAtomCharge (const rnamlAtom *atom) |
Gets the charge from the atom. | |
void | rnamlsetAtomCharge (rnamlAtom *atom, const char *charge) |
Sets the atom charge. | |
xmlcpgObject * | rnamltoXMLAtom (const rnamlAtom *atom) |
Translates the rnamlAtom structure into a xmlcpgElement conforming to the RNAML standard. |
|
Rnaml structure containing the atom informations.
|
|
Clones a rnamlAtom struture.
|
|
Frees the rnamlAtom structure.
|
|
Tells if left and right are equals.
|
|
Gets the atomType from the atom.
|
|
Gets the charge from the atom.
|
|
Gets the element from the atom.
|
|
Gets the occupancy from the atom.
|
|
Gets the segId from the atom.
|
|
Gets the atom serial.
|
|
Gets the tempFactor from the atom.
|
|
Gets the x from the atom.
|
|
Gets the y from the atom.
|
|
Gets the z from the atom.
|
|
Tells wheter the object is a rnamlAtom.
|
|
Creates a new rnamlAtom structure.
|
|
Sets the atom atomType. The previous atom atomType is freed and a copy of atomType is generated.
|
|
Sets the atom charge. The previous atom charge is freed and a copy of charge is generated.
|
|
Sets the atom element. The previous atom element is freed and a copy of element is generated.
|
|
Sets the atom occupancy. The previous atom occupancy is freed and a copy of occupancy is generated.
|
|
Sets the atom segId. The previous atom segId is freed and a copy of segId is generated.
|
|
Sets the atom serial. The previous atom serial is freed and a copy of serial is generated.
|
|
Sets the atom tempFactor. The previous atom tempFactor is freed and a copy of tempFactor is generated.
|
|
Sets the atom x. The previous atom x is freed and a copy of x is generated.
|
|
Sets the atom y. The previous atom y is freed and a copy of y is generated.
|
|
Sets the atom z. The previous atom z is freed and a copy of z is generated.
|
|
Translates the rnamlAtom structure into a xmlcpgElement conforming to the RNAML standard.
|