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

Use VMD plugin for MOL2. More...

#include <mol2_file.h>

+ Inheritance diagram for pteros::Mol2File:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Use VMD plugin for MOL2.


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