Pteros  2.0
Molecular modeling library for human beings!
pteros::VMD_molfile_plugin_wrapper Class Reference

Generic API for reading and writing any molecule file formats. More...

#include <vmd_molfile_plugin_wrapper.h>

+ Inheritance diagram for pteros::VMD_molfile_plugin_wrapper:

Public Member Functions

 VMD_molfile_plugin_wrapper (std::string &fname)
 
virtual void open (char open_mode)
 Opens a file with given access mode. Need to be defined by derived classes.
 
- Public Member Functions inherited from pteros::Mol_file
bool read (System *sys, Frame *frame, const Mol_file_content &what)
 Reads data, which are specified by what. More...
 
void write (const Selection &sel, const Mol_file_content &what)
 Write data from selection specidied by what.
 
virtual Mol_file_content get_content_type () const =0
 Reports content of this file type.
 

Additional Inherited Members

- Static Public Member Functions inherited from pteros::Mol_file
static std::unique_ptr< Mol_filerecognize (std::string fname)
 Recognizes file extension and returns a file handler.
 
static std::unique_ptr< Mol_fileopen (std::string fname, char open_mode)
 Recognize file extension, open file for reading or writing and return a file handler. More...
 

Detailed Description

Generic API for reading and writing any molecule file formats.


The documentation for this class was generated from the following files: