Gromacs  2026.0-dev-20241121-c76fa1e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
anonymous_namespace{atoms.cpp} Namespace Reference

Functions

void serializeValue (gmx::ISerializer *serializer, unsigned short *value)
 Serialize unsigned short values. More...
 
void serializeValue (gmx::ISerializer *serializer, real *value)
 Serialize real values. More...
 
void serializeValue (gmx::ISerializer *serializer, NameHolder *value)
 Serialize NameHolder values. More...
 
void serializeValue (gmx::ISerializer *serializer, NameHolder *value, const StringTable &table)
 Deserialize NameHolder values. More...
 
template<typename T >
void serializeFEPStateValue (gmx::ISerializer *serializer, FEPStateValue< T > *value)
 Serialize FEP state value. More...
 
template<typename T >
void deserializeFEPStateValue (gmx::ISerializer *serializer, FEPStateValue< T > *value)
 Deserialize FEP state value. More...
 
void deserializeFEPStateValue (gmx::ISerializer *serializer, FEPStateValue< NameHolder > *value, const StringTable &table)
 Deserialize FEP state value. More...
 

Function Documentation

template<typename T >
void anonymous_namespace{atoms.cpp}::deserializeFEPStateValue ( gmx::ISerializer serializer,
FEPStateValue< T > *  value 
)

Deserialize FEP state value.

This function only works for values that are not name entries.

Template Parameters
Ttype to be serialized
Parameters
[in,out]serializerthe serializer to use
[in,out]valueObject to read.
void anonymous_namespace{atoms.cpp}::deserializeFEPStateValue ( gmx::ISerializer serializer,
FEPStateValue< NameHolder > *  value,
const StringTable table 
)

Deserialize FEP state value.

This function only works for values that are name entries.

Parameters
[in,out]serializerthe serializer to use
[in,out]valueObject to serialize.
[in]tableStringTable to read entries from.
template<typename T >
void anonymous_namespace{atoms.cpp}::serializeFEPStateValue ( gmx::ISerializer serializer,
FEPStateValue< T > *  value 
)

Serialize FEP state value.

Template Parameters
Ttype to be serialized
Parameters
[in,out]serializerthe serializer to use
[in,out]valueObject to serialize.
void anonymous_namespace{atoms.cpp}::serializeValue ( gmx::ISerializer serializer,
unsigned short *  value 
)

Serialize unsigned short values.

Parameters
[in,out]serializerthe serializer
[in,out]valueto be serialized
void anonymous_namespace{atoms.cpp}::serializeValue ( gmx::ISerializer serializer,
real value 
)

Serialize real values.

Parameters
[in,out]serializerthe serializer
[in,out]valueto be serialized
void anonymous_namespace{atoms.cpp}::serializeValue ( gmx::ISerializer serializer,
NameHolder *  value 
)

Serialize NameHolder values.

Parameters
[in,out]serializerthe serializer
[in,out]valueto be serialized
void anonymous_namespace{atoms.cpp}::serializeValue ( gmx::ISerializer serializer,
NameHolder *  value,
const StringTable table 
)

Deserialize NameHolder values.

Parameters
[in,out]serializerthe serializer
[in,out]valueto be serialized
[in]tableHandle for symbol table needed.