12 #ifndef SERIALIZE_SET_H
13 #define SERIALIZE_SET_H
16 #include <sst/core/serialization/serializer.h>
20 namespace Serialization {
24 typedef std::set<T> Set;
29 typedef typename std::set<T>::iterator iterator;
32 case serializer::SIZER: {
33 size_t size = v.size();
35 iterator it, end = v.end();
36 for (it=v.begin(); it != end; ++it){
37 T& t =
const_cast<T&
>(*it);
42 case serializer::PACK: {
43 size_t size = v.size();
45 iterator it, end = v.end();
46 for (it=v.begin(); it != end; ++it){
47 T& t =
const_cast<T&
>(*it);
52 case serializer::UNPACK: {
55 for (
size_t i=0; i < size; ++i){
69 #endif // SERIALIZE_SET_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