|
DUDS
|
Distributed Update of Data from Something
|
Serialization support for Interstellar Time data types. More...
#include <duds/time/interstellar/Interstellar.hpp>#include <boost/serialization/split_free.hpp>#include <boost/serialization/nvp.hpp>Go to the source code of this file.
Namespaces | |
| boost | |
| boost::serialization | |
Macros | |
| #define | SETDUR(val) val.value |
| #define | SETMILLI(val) duds::time::interstellar::Milliseconds(val) |
| #define | SETNANO(val) duds::time::interstellar::Nanoseconds(val) |
| #define | SETPTR(val) duds::time::interstellar::Femtoseconds(val.value) |
| #define | SETSEC(val) duds::time::interstellar::Seconds(val) |
| #define | SETSELF(val) val |
| #define | TIMESER(IST, INT, GET, SETOP, FLD) |
| Makes serialization functions. More... | |
Serialization support for Interstellar Time data types.
Definition in file Serialize.hpp.
| #define SETDUR | ( | val | ) | val.value |
Definition at line 41 of file Serialize.hpp.
| #define SETMILLI | ( | val | ) | duds::time::interstellar::Milliseconds(val) |
Definition at line 44 of file Serialize.hpp.
| #define SETNANO | ( | val | ) | duds::time::interstellar::Nanoseconds(val) |
Definition at line 45 of file Serialize.hpp.
| #define SETPTR | ( | val | ) | duds::time::interstellar::Femtoseconds(val.value) |
Definition at line 42 of file Serialize.hpp.
| #define SETSEC | ( | val | ) | duds::time::interstellar::Seconds(val) |
Definition at line 46 of file Serialize.hpp.
| #define SETSELF | ( | val | ) | val |
Definition at line 43 of file Serialize.hpp.
| #define TIMESER | ( | IST, | |
| INT, | |||
| GET, | |||
| SETOP, | |||
| FLD | |||
| ) |
Makes serialization functions.
I tried with just templates, but it didn't go well, so I used macros to avoid the compiler errors I was getting.
Definition at line 24 of file Serialize.hpp.