Gromacs
2025.0-dev-20241029-e106fce
|
#include <cstddef>
#include <string>
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
#include "gromacs/utility/smalloc.h"
Declares a generic serialization interface that supports both directions.
Classes | |
class | gmx::ISerializer |
Interface for types that convert standard data types into a form suitable for storage or transfer. More... | |
Typedefs | |
typedef real | rvec [3] |
Duplicate definitions of those in vectypes.h. More... | |
typedef int | ivec [3] |
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.