12 #ifndef SERIALIZE_DEQUE_H
13 #define SERIALIZE_DEQUE_H
16 #include <sst/core/serialization/serializer.h>
20 namespace Serialization {
24 typedef std::deque<T> Deque;
30 case serializer::SIZER: {
31 size_t size = v.size();
33 for (
auto it = v.begin(); it != v.end(); ++it){
34 T& t =
const_cast<T&
>(*it);
39 case serializer::PACK: {
40 size_t size = v.size();
42 for (
auto it = v.begin(); it != v.end(); ++it){
43 T& t =
const_cast<T&
>(*it);
48 case serializer::UNPACK: {
51 for (
int i=0; i < size; ++i){
65 #endif // SERIALIZE_DEQUE_H
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:35
Base serialize class.
Definition: serialize.h:33