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

Read and write molecules in STAR format. More...

Functions

long read_mol_star (Bstring &filename, Bmolgroup *molgroup)
 Reads a molecule group from a STAR format file. More...
 
long write_mol_star (Bstring &filename, Bmolgroup *molgroup)
 Writes a molecule group to a STAR format file. More...
 

Detailed Description

Read and write molecules in STAR format.

Author
Bernard Heymann
Date
Created: 19991113
Modified: 20050908

Function Documentation

◆ read_mol_star()

long read_mol_star ( Bstring filename,
Bmolgroup molgroup 
)

Reads a molecule group from a STAR format file.

Parameters
&filenamethe file name.
*molgroupthe molecule group.
Returns
long number of molecules read (<0 if reading failed).

◆ write_mol_star()

long write_mol_star ( Bstring filename,
Bmolgroup molgroup 
)

Writes a molecule group to a STAR format file.

Parameters
&filenamethe file name.
*molgroupthe molecule group.
Returns
long number of molecules written (<0 if writing failed).