12#ifndef SST_CORE_SERIALIZATION_SERIALIZE_VECTOR_H
13#define SST_CORE_SERIALIZATION_SERIALIZE_VECTOR_H
15#include "sst/core/serialization/serializer.h"
21namespace Serialization {
26 typedef std::vector<T> Vector;
31 switch ( ser.mode() ) {
32 case serializer::SIZER:
34 size_t size = v.size();
38 case serializer::PACK:
40 size_t size = v.size();
44 case serializer::UNPACK:
53 for (
size_t i = 0; i < v.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