Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions
gmx::MrcDensityMapOfFloatReader Class Reference

#include <gromacs/fileio/mrcdensitymap.h>

Description

Read an mrc/ccp4 file that contains float values.

Classes

class  Impl
 Private implementation class for MrcDensityMapOfFloatReader. More...
 

Public Member Functions

 MrcDensityMapOfFloatReader (ISerializer *serializer)
 Construct from directly de-serializing data into the object. More...
 
ArrayRef< const float > constView () const
 Return a view on the data of the density grid.
 
const MrcDensityMapHeaderheader () const
 Return the header.
 

Constructor & Destructor Documentation

gmx::MrcDensityMapOfFloatReader::MrcDensityMapOfFloatReader ( ISerializer serializer)
explicit

Construct from directly de-serializing data into the object.

Exceptions
InternalErrorif serializer is not reading
InternalErrorif header is inconsistent
ifserializer throws error upon failed reading
Parameters
[in]serializerSerializer to read the object data from

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