Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
coordinatefile.h File Reference
#include <algorithm>
#include <utility>
#include "gromacs/coordinateio/ioutputadapter.h"
#include "gromacs/coordinateio/outputadaptercontainer.h"
#include "gromacs/fileio/filetypes.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/selection/selection.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
+ Include dependency graph for coordinatefile.h:
+ This graph shows which files directly or indirectly include this file:

Description

CoordinateFile takes care of opening files and writing output to them.

Author

Classes

class  gmx::TrajectoryFileOpener
 Low level method to take care of only file opening and closing. More...
 
class  gmx::TrajectoryFrameWriter
 Writes coordinate frames to a sink, e.g. a trajectory file. More...
 

Typedefs

using gmx::TrajectoryFrameWriterPointer = std::unique_ptr< TrajectoryFrameWriter >
 Smart pointer to manage the TrajectoryFrameWriter object.
 

Functions

std::unique_ptr
< TrajectoryFrameWriter > 
gmx::createTrajectoryFrameWriter (const gmx_mtop_t *top, const Selection &sel, const std::string &filename, AtomsDataPtr atoms, OutputRequirements requirements)
 Factory function for TrajectoryFrameWriter. More...