12#ifndef SST_CORE_SERIALIZATION_SERIALIZE_LIST_H
13#define SST_CORE_SERIALIZATION_SERIALIZE_LIST_H
15#include "sst/core/serialization/serializer.h"
21namespace Serialization {
26 typedef std::list<T> List;
31 typedef typename List::iterator iterator;
32 switch ( ser.mode() ) {
33 case serializer::SIZER:
35 size_t size = v.size();
37 iterator it, end = v.end();
38 for ( it = v.begin(); it != end; ++it ) {
44 case serializer::PACK:
46 size_t size = v.size();
48 iterator it, end = v.end();
49 for ( it = v.begin(); it != end; ++it ) {
55 case serializer::UNPACK:
59 for (
size_t i = 0; i < size; ++i ) {
Base serialize class.
Definition: serialize.h:32
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:35