Logo Search packages:      
Sourcecode: pymol version File versions

molfile_plugin_t Struct Reference

#include <molfile_plugin.h>

List of all members.


Detailed Description

Main file reader API. Any function in this struct may be NULL if not implemented by the plugin; the application checks this to determine what functionality is present in the plugin.

Definition at line 217 of file molfile_plugin.h.


Public Attributes

void(* close_file_read )(void *)
void(* close_file_write )(void *)
vmdplugin_HEAD const char * filename_extension
void *(* open_file_read )(const char *filepath, const char *filetype, int *natoms)
void *(* open_file_write )(const char *filepath, const char *filetype, int natoms)
int(* read_bonds )(void *, int *nbonds, int **from, int **to, float **bondorder)
int(* read_molecule_metadata )(void *, molfile_metadata_t **metadata)
int(* read_next_timestep )(void *, int natoms, molfile_timestep_t *)
int(* read_rawgraphics )(void *, int *nelem, const molfile_graphics_t **data)
int(* read_structure )(void *, int *optflags, molfile_atom_t *atoms)
int(* read_volumetric_data )(void *, int set, float *datablock, float *colorblock)
int(* read_volumetric_metadata )(void *, int *nsets, molfile_volumetric_t **metadata)
int(* write_bonds )(void *, int nbonds, int *from, int *to, float *bondorder)
int(* write_structure )(void *, int optflags, const molfile_atom_t *atoms)
int(* write_timestep )(void *, const molfile_timestep_t *)

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index