Bsoft 2.1.4
Bernard's software package
rwresprop.h File Reference

Header file for reading residue property files. More...

#include "Bstring.h"

Classes

struct  Bresidue_type
 
struct  Bresidue_matrix
 

Macros

#define MAXRES   25
 
#define _Brestype_
 

Functions

Bresidue_typeget_residue_properties (Bstring &filename)
 Reading residue properties from parameter files. More...
 
int write_residue_properties (Bstring &filename, Bresidue_type *rt)
 Writing residue properties from a parameter file. More...
 
Bresidue_matrixget_residue_matrix (Bstring &filename)
 Reading a residue matrix from a file. More...
 
int residue_matrix_kill (Bresidue_matrix *resmat)
 Deallocating a residue matrix. More...
 

Detailed Description

Header file for reading residue property files.

Author
Bernard Heymann
Date
Created: 19980822
Modified: 20100916

Macro Definition Documentation

◆ _Brestype_

#define _Brestype_

◆ MAXRES

#define MAXRES   25

Function Documentation

◆ get_residue_matrix()

Bresidue_matrix * get_residue_matrix ( Bstring filename)

Reading a residue matrix from a file.

Parameters
&filenamefile name.
Returns
Bresidue_matrix* residue matrix property structure, NULL on failure.

◆ get_residue_properties()

Bresidue_type * get_residue_properties ( Bstring filename)

Reading residue properties from parameter files.

Parameters
&filenamefile name.
Returns
Bresidue_type* the residue property structure, NULL on failure.

◆ residue_matrix_kill()

int residue_matrix_kill ( Bresidue_matrix resmat)

Deallocating a residue matrix.

Parameters
*resmatthe residue matrix property structure.
Returns
int 0.

◆ write_residue_properties()

int write_residue_properties ( Bstring filename,
Bresidue_type rt 
)

Writing residue properties from a parameter file.

Parameters
&filenamefile name.
*rtthe residue property structure.
Returns
int error code (<0 means failure).