Utilities.h File Reference
#include <MercuryBase.h>

Go to the source code of this file.

Functions

template<class Archive >
void serialize (Archive &ar, Vec3D &v)
 

Function Documentation

◆ serialize()

template<class Archive >
void serialize ( Archive &  ar,
Vec3D v 
)
40 {
41  using namespace cereal;
42  ar( make_nvp("x",v.X),
43  make_nvp("y",v.Y),
44  make_nvp("z",v.Z));
45 }
Mdouble Y
Definition: Vector.h:66
Mdouble Z
Definition: Vector.h:66
Mdouble X
the vector components
Definition: Vector.h:66

References Vec3D::X, Vec3D::Y, and Vec3D::Z.