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;
29 typedef typename std::set<T>::iterator iterator;
31 case serializer::SIZER: {
32 size_t size = v.size();
34 for (
auto it = v.begin(); it != v.end(); ++it){
35 T& t =
const_cast<T&
>(*it);
40 case serializer::PACK: {
41 size_t size = v.size();
43 for (
auto it = v.begin(); it != v.end(); ++it){
44 T& t =
const_cast<T&
>(*it);
49 case serializer::UNPACK: {
52 for (
int i=0; i < size; ++i){
66 #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:32