serialize.hh (7823:dac01f14f20f) serialize.hh (7948:20da8e9ed59f)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 56 unchanged lines hidden (view full) ---

65void arrayParamOut(std::ostream &os, const std::string &name,
66 const T *param, unsigned size);
67
68template <class T>
69void arrayParamOut(std::ostream &os, const std::string &name,
70 const std::vector<T> &param);
71
72template <class T>
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 56 unchanged lines hidden (view full) ---

65void arrayParamOut(std::ostream &os, const std::string &name,
66 const T *param, unsigned size);
67
68template <class T>
69void arrayParamOut(std::ostream &os, const std::string &name,
70 const std::vector<T> &param);
71
72template <class T>
73void arrayParamOut(std::ostream &os, const std::string &name,
74 const std::list<T> &param);
75
76template <class T>
73void arrayParamIn(Checkpoint *cp, const std::string &section,
74 const std::string &name, T *param, unsigned size);
75
76template <class T>
77void arrayParamIn(Checkpoint *cp, const std::string &section,
78 const std::string &name, std::vector<T> &param);
79
77void arrayParamIn(Checkpoint *cp, const std::string &section,
78 const std::string &name, T *param, unsigned size);
79
80template <class T>
81void arrayParamIn(Checkpoint *cp, const std::string &section,
82 const std::string &name, std::vector<T> &param);
83
84template <class T>
85void arrayParamIn(Checkpoint *cp, const std::string &section,
86 const std::string &name, std::list<T> &param);
87
80void
81objParamIn(Checkpoint *cp, const std::string &section,
82 const std::string &name, SimObject * &param);
83
84
85//
86// These macros are streamlined to use in serialize/unserialize
87// functions. It's assumed that serialize() has a parameter 'os' for

--- 180 unchanged lines hidden ---
88void
89objParamIn(Checkpoint *cp, const std::string &section,
90 const std::string &name, SimObject * &param);
91
92
93//
94// These macros are streamlined to use in serialize/unserialize
95// functions. It's assumed that serialize() has a parameter 'os' for

--- 180 unchanged lines hidden ---