![]() |
Pteros
2.0
Molecular modeling library for human beings!
|
Reader for GRO files. It doesn't use VMD plugins because it doesn't support writing. More...
#include <gro_file.h>
Public Member Functions | |
GroFile (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 () |
virtual FileContent | get_content_type () const |
Reports content of this file type. | |
![]() | |
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 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... | |
Reader for GRO files. It doesn't use VMD plugins because it doesn't support writing.