Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

basetorsionangles.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include "basetorsionangles.h"

Compounds

struct  rnamlBASETORSIONANGLES

Functions

rnamlBaseTorsionAnglesrnamlnewBaseTorsionAngles ()
 Creates a new rnamlBaseTorsionAngles structure.

rnamlBaseTorsionAnglesrnamlcloneBaseTorsionAngles (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Clones a rnamlBaseTorsionAngles struture.

void rnamldeleteBaseTorsionAngles (rnamlBaseTorsionAngles *baseTorsionAngles)
 Frees the rnamlBaseTorsionAngles structure.

int rnamlisBaseTorsionAngles (const rnamlObject *obj)
 Tells wheter the object is a rnamlBaseTorsionAngles.

int rnamlequalsBaseTorsionAngles (const rnamlBaseTorsionAngles *left, const rnamlBaseTorsionAngles *right)
 Tells if left and right are equals.

float rnamlgetBaseTorsionAnglesAlpha (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the alpha from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesAlpha (rnamlBaseTorsionAngles *baseTorsionAngles, float alpha)
 Sets the baseTorsionAngles alpha.

float rnamlgetBaseTorsionAnglesBeta (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the beta from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesBeta (rnamlBaseTorsionAngles *baseTorsionAngles, float beta)
 Sets the baseTorsionAngles beta.

float rnamlgetBaseTorsionAnglesGamma (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the gamma from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesGamma (rnamlBaseTorsionAngles *baseTorsionAngles, float gamma)
 Sets the baseTorsionAngles gamma.

float rnamlgetBaseTorsionAnglesDelta (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the delta from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesDelta (rnamlBaseTorsionAngles *baseTorsionAngles, float delta)
 Sets the baseTorsionAngles delta.

float rnamlgetBaseTorsionAnglesEpsilon (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the epsilon from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesEpsilon (rnamlBaseTorsionAngles *baseTorsionAngles, float epsilon)
 Sets the baseTorsionAngles epsilon.

float rnamlgetBaseTorsionAnglesZeta (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the zeta from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesZeta (rnamlBaseTorsionAngles *baseTorsionAngles, float zeta)
 Sets the baseTorsionAngles zeta.

float rnamlgetBaseTorsionAnglesChi (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the chi from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesChi (rnamlBaseTorsionAngles *baseTorsionAngles, float chi)
 Sets the baseTorsionAngles chi.

float rnamlgetBaseTorsionAnglesNu0 (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the nu0 from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesNu0 (rnamlBaseTorsionAngles *baseTorsionAngles, float nu0)
 Sets the baseTorsionAngles nu0.

float rnamlgetBaseTorsionAnglesNu1 (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the nu1 from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesNu1 (rnamlBaseTorsionAngles *baseTorsionAngles, float nu1)
 Sets the baseTorsionAngles nu1.

float rnamlgetBaseTorsionAnglesNu2 (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the nu2 from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesNu2 (rnamlBaseTorsionAngles *baseTorsionAngles, float nu2)
 Sets the baseTorsionAngles nu2.

float rnamlgetBaseTorsionAnglesNu3 (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the nu3 from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesNu3 (rnamlBaseTorsionAngles *baseTorsionAngles, float nu3)
 Sets the baseTorsionAngles nu3.

float rnamlgetBaseTorsionAnglesNu4 (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Gets the nu4 from the baseTorsionAngles.

void rnamlsetBaseTorsionAnglesNu4 (rnamlBaseTorsionAngles *baseTorsionAngles, float nu4)
 Sets the baseTorsionAngles nu4.

xmlcpgObjectrnamltoXMLBaseTorsionAngles (const rnamlBaseTorsionAngles *baseTorsionAngles)
 Translates the rnamlBaseTorsionAngles structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

rnamlBaseTorsionAngles* rnamlcloneBaseTorsionAngles const rnamlBaseTorsionAngles   basetorsionangles
 

Clones a rnamlBaseTorsionAngles struture.

Parameters:
basetorsionangles  the structure to clone.
Returns:
the new allocated structure or NULL if something goes wrong.

void rnamldeleteBaseTorsionAngles rnamlBaseTorsionAngles   basetorsionangles
 

Frees the rnamlBaseTorsionAngles structure.

Parameters:
basetorsionangles  the rnamlBaseTorsionAngles structure to free.

int rnamlequalsBaseTorsionAngles const rnamlBaseTorsionAngles   left,
const rnamlBaseTorsionAngles   right
 

Tells if left and right are equals.

Parameters:
left  the left object to compare.
right  the right object to compare.
Returns:
1 if the objects are equals or 0 otherwise.

float rnamlgetBaseTorsionAnglesAlpha const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the alpha from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the alpha or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesBeta const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the beta from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the beta or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesChi const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the chi from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the chi or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesDelta const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the delta from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the delta or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesEpsilon const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the epsilon from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the epsilon or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesGamma const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the gamma from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the gamma or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesNu0 const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the nu0 from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the nu0 or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesNu1 const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the nu1 from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the nu1 or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesNu2 const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the nu2 from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the nu2 or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesNu3 const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the nu3 from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the nu3 or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesNu4 const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the nu4 from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the nu4 or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

float rnamlgetBaseTorsionAnglesZeta const rnamlBaseTorsionAngles   baseTorsionAngles
 

Gets the zeta from the baseTorsionAngles.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
Returns:
the zeta or 0 if baseTorsionAngles is NULL or not an rnamlBaseTorsionAngles.

int rnamlisBaseTorsionAngles const rnamlObject   obj
 

Tells wheter the object is a rnamlBaseTorsionAngles.

Parameters:
obj  the rnamlObject to test.
Returns:
1 if the object is a rnamlBaseTorsionAngles, 0 otherwise.

rnamlBaseTorsionAngles* rnamlnewBaseTorsionAngles  
 

Creates a new rnamlBaseTorsionAngles structure.

Returns:
the new allocated structure or NULL if something goes wrong.

void rnamlsetBaseTorsionAnglesAlpha rnamlBaseTorsionAngles   baseTorsionAngles,
float    alpha
 

Sets the baseTorsionAngles alpha.

The previous baseTorsionAngles alpha is freed and a copy of alpha is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
alpha  the baseTorsionAngles alpha.

void rnamlsetBaseTorsionAnglesBeta rnamlBaseTorsionAngles   baseTorsionAngles,
float    beta
 

Sets the baseTorsionAngles beta.

The previous baseTorsionAngles beta is freed and a copy of beta is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
beta  the baseTorsionAngles beta.

void rnamlsetBaseTorsionAnglesChi rnamlBaseTorsionAngles   baseTorsionAngles,
float    chi
 

Sets the baseTorsionAngles chi.

The previous baseTorsionAngles chi is freed and a copy of chi is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
chi  the baseTorsionAngles chi.

void rnamlsetBaseTorsionAnglesDelta rnamlBaseTorsionAngles   baseTorsionAngles,
float    delta
 

Sets the baseTorsionAngles delta.

The previous baseTorsionAngles delta is freed and a copy of delta is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
delta  the baseTorsionAngles delta.

void rnamlsetBaseTorsionAnglesEpsilon rnamlBaseTorsionAngles   baseTorsionAngles,
float    epsilon
 

Sets the baseTorsionAngles epsilon.

The previous baseTorsionAngles epsilon is freed and a copy of epsilon is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
epsilon  the baseTorsionAngles epsilon.

void rnamlsetBaseTorsionAnglesGamma rnamlBaseTorsionAngles   baseTorsionAngles,
float    gamma
 

Sets the baseTorsionAngles gamma.

The previous baseTorsionAngles gamma is freed and a copy of gamma is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
gamma  the baseTorsionAngles gamma.

void rnamlsetBaseTorsionAnglesNu0 rnamlBaseTorsionAngles   baseTorsionAngles,
float    nu0
 

Sets the baseTorsionAngles nu0.

The previous baseTorsionAngles nu0 is freed and a copy of nu0 is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
nu0  the baseTorsionAngles nu0.

void rnamlsetBaseTorsionAnglesNu1 rnamlBaseTorsionAngles   baseTorsionAngles,
float    nu1
 

Sets the baseTorsionAngles nu1.

The previous baseTorsionAngles nu1 is freed and a copy of nu1 is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
nu1  the baseTorsionAngles nu1.

void rnamlsetBaseTorsionAnglesNu2 rnamlBaseTorsionAngles   baseTorsionAngles,
float    nu2
 

Sets the baseTorsionAngles nu2.

The previous baseTorsionAngles nu2 is freed and a copy of nu2 is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
nu2  the baseTorsionAngles nu2.

void rnamlsetBaseTorsionAnglesNu3 rnamlBaseTorsionAngles   baseTorsionAngles,
float    nu3
 

Sets the baseTorsionAngles nu3.

The previous baseTorsionAngles nu3 is freed and a copy of nu3 is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
nu3  the baseTorsionAngles nu3.

void rnamlsetBaseTorsionAnglesNu4 rnamlBaseTorsionAngles   baseTorsionAngles,
float    nu4
 

Sets the baseTorsionAngles nu4.

The previous baseTorsionAngles nu4 is freed and a copy of nu4 is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
nu4  the baseTorsionAngles nu4.

void rnamlsetBaseTorsionAnglesZeta rnamlBaseTorsionAngles   baseTorsionAngles,
float    zeta
 

Sets the baseTorsionAngles zeta.

The previous baseTorsionAngles zeta is freed and a copy of zeta is generated.

Parameters:
baseTorsionAngles  the rnamlBaseTorsionAngles structure.
zeta  the baseTorsionAngles zeta.

xmlcpgObject* rnamltoXMLBaseTorsionAngles const rnamlBaseTorsionAngles   baseTorsionAngles
 

Translates the rnamlBaseTorsionAngles structure into a xmlcpgElement conforming to the RNAML standard.

Parameters:
molecule  the rnamlBaseTorsionAngles structure to translate.
Returns:
the xmlcpgObject or NULL if something goes wrong.


Generated on Tue Nov 11 14:59:44 2003 for xmlcpg by doxygen1.2.18