Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
inmemoryserializer.cpp File Reference
#include "gmxpre.h"
#include "gromacs/utility/inmemoryserializer.h"
#include "config.h"
#include <algorithm>
#include <vector>
+ Include dependency graph for inmemoryserializer.cpp:

Description

Defines gmx::ISerializer implementation for in-memory serialization.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Functions

template<typename T >
gmx::anonymous_namespace{inmemoryserializer.cpp}::swapEndian (const T &value)
 Return value with the byte order swapped.
 
EndianSwapBehavior gmx::anonymous_namespace{inmemoryserializer.cpp}::setEndianSwapBehaviorFromHost (EndianSwapBehavior endianSwapBehavior)
 Change the host-dependent endian settings to either Swap or DoNotSwap. More...