codac 1.5.6
Loading...
Searching...
No Matches
codac_serialize_trajectories.h
Go to the documentation of this file.
1
12#ifndef __CODAC_SERIALIZ_TRAJECTORIES_H__
13#define __CODAC_SERIALIZ_TRAJECTORIES_H__
14
15#include <fstream>
16#include "codac_Trajectory.h"
19
20namespace codac
21{
24
44 void serialize_Trajectory(std::ofstream& bin_file, const Trajectory& traj, int version_number = SERIALIZATION_VERSION);
45
54 void deserialize_Trajectory(std::ifstream& bin_file, Trajectory *&traj);
55
59
73 void serialize_TrajectoryVector(std::ofstream& bin_file, const TrajectoryVector& traj, int version_number = SERIALIZATION_VERSION);
74
83 void deserialize_TrajectoryVector(std::ifstream& bin_file, TrajectoryVector *&traj);
84
86}
87
88#endif
One dimensional trajectory , defined as a temporal map of values.
Definition codac_Trajectory.h:35
n-dimensional trajectory , defined as a temporal map of vector values
Definition codac_TrajectoryVector.h:38
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9
void serialize_Trajectory(std::ofstream &bin_file, const Trajectory &traj, int version_number=SERIALIZATION_VERSION)
Writes a Trajectory object into a binary file.
void serialize_TrajectoryVector(std::ofstream &bin_file, const TrajectoryVector &traj, int version_number=SERIALIZATION_VERSION)
Writes a TrajectoryVector object into a binary file.
void deserialize_TrajectoryVector(std::ifstream &bin_file, TrajectoryVector *&traj)
Creates a TrajectoryVector object from a binary file.
void deserialize_Trajectory(std::ifstream &bin_file, Trajectory *&traj)
Creates a Trajectory object from a binary file.