Deleted Added
sdiff udiff text old ( 4000:9bf49767a9e4 ) new ( 4841:89a9419e7361 )
full compact
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;

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

34 * Serialization Interface Declarations
35 */
36
37#ifndef __SERIALIZE_HH__
38#define __SERIALIZE_HH__
39
40
41#include <list>
42#include <iostream>
43#include <map>
44
45#include "sim/host.hh"
46
47class IniFile;
48class Serializable;
49class Checkpoint;

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

56void paramIn(Checkpoint *cp, const std::string &section,
57 const std::string &name, T &param);
58
59template <class T>
60void arrayParamOut(std::ostream &os, const std::string &name,
61 const T *param, int size);
62
63template <class T>
64void arrayParamIn(Checkpoint *cp, const std::string &section,
65 const std::string &name, T *param, int size);
66
67void
68objParamIn(Checkpoint *cp, const std::string &section,
69 const std::string &name, SimObject * &param);
70
71
72//
73// These macros are streamlined to use in serialize/unserialize
74// functions. It's assumed that serialize() has a parameter 'os' for

--- 173 unchanged lines hidden ---