12 #ifndef SERIALIZE_MAP_H
13 #define SERIALIZE_MAP_H
16 #include "sst/core/serialization/serializer.h"
20 namespace Serialization {
22 template <
class Key,
class Value>
24 typedef std::map<Key,Value> Map;
27 typedef typename std::map<Key,Value>::iterator iterator;
30 case serializer::SIZER: {
31 size_t size = m.size();
33 iterator it, end = m.end();
34 for (it=m.begin(); it != end; ++it){
41 case serializer::PACK: {
42 size_t size = m.size();
44 iterator it, end = m.end();
45 for (it=m.begin(); it != end; ++it){
51 case serializer::UNPACK: {
54 for (
size_t i=0; i < size; ++i){
71 #endif // SERIALIZE_MAP_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