serialize.hh (6214:1ec0ec8933ae) serialize.hh (6227:a17798f2a52c)
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;

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

54void paramOut(std::ostream &os, const std::string &name, const T &param);
55
56template <class T>
57void paramIn(Checkpoint *cp, const std::string &section,
58 const std::string &name, T &param);
59
60template <class T>
61void arrayParamOut(std::ostream &os, const std::string &name,
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;

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

54void paramOut(std::ostream &os, const std::string &name, const T &param);
55
56template <class T>
57void paramIn(Checkpoint *cp, const std::string &section,
58 const std::string &name, T &param);
59
60template <class T>
61void arrayParamOut(std::ostream &os, const std::string &name,
62 const T *param, int size);
62 const T *param, unsigned size);
63
64template <class T>
65void arrayParamOut(std::ostream &os, const std::string &name,
66 const std::vector<T> &param);
67
68template <class T>
69void arrayParamIn(Checkpoint *cp, const std::string &section,
63
64template <class T>
65void arrayParamOut(std::ostream &os, const std::string &name,
66 const std::vector<T> &param);
67
68template <class T>
69void arrayParamIn(Checkpoint *cp, const std::string &section,
70 const std::string &name, T *param, int size);
70 const std::string &name, T *param, unsigned size);
71
72template <class T>
73void arrayParamIn(Checkpoint *cp, const std::string &section,
74 const std::string &name, std::vector<T> &param);
75
76void
77objParamIn(Checkpoint *cp, const std::string &section,
78 const std::string &name, SimObject * &param);

--- 177 unchanged lines hidden ---
71
72template <class T>
73void arrayParamIn(Checkpoint *cp, const std::string &section,
74 const std::string &name, std::vector<T> &param);
75
76void
77objParamIn(Checkpoint *cp, const std::string &section,
78 const std::string &name, SimObject * &param);

--- 177 unchanged lines hidden ---