Gromacs  2023.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs
iserializer.h File Reference
#include <cstddef>
#include <string>
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
#include "gromacs/utility/smalloc.h"
+ Include dependency graph for iserializer.h:
+ This graph shows which files directly or indirectly include this file:


Declares a generic serialization interface that supports both directions.

Generalize and transfer serialization functionality used in mrc density file header serialization to here.
Teemu Murtola


class  gmx::ISerializer
 Interface for types that convert standard data types into a form suitable for storage or transfer. More...


typedef real rvec [3]
 Duplicate definitions of those in vectypes.h. More...
typedef int ivec [3]

Typedef Documentation

typedef real rvec[3]

Duplicate definitions of those in vectypes.h.

This lets the utility module be independent of the math module, without which it is hard to build a proper layered library. The duplicates must remain matching, but if ever only one is changed then the compiler will complain about it.