summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/serialize.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sim/serialize.hh b/src/sim/serialize.hh
index 888dba614..2fb7cddd0 100644
--- a/src/sim/serialize.hh
+++ b/src/sim/serialize.hh
@@ -160,6 +160,12 @@ void fromSimObject(T &t, SimObject *s)
#define UNSERIALIZE_ARRAY(member, size) \
arrayParamIn(cp, section, #member, member, size)
+#define SERIALIZE_CONTAINER(member) \
+ arrayParamOut(os, #member, member)
+
+#define UNSERIALIZE_CONTAINER(member) \
+ arrayParamIn(cp, section, #member, member)
+
#define SERIALIZE_OBJPTR(objptr) paramOut(os, #objptr, (objptr)->name())
#define UNSERIALIZE_OBJPTR(objptr) \