serialize.hh (9959:ad4564da49b5) serialize.hh (9983:2cce74fe359e)
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;

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

44#include <vector>
45
46#include "base/types.hh"
47
48class IniFile;
49class Serializable;
50class Checkpoint;
51class SimObject;
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;

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

44#include <vector>
45
46#include "base/types.hh"
47
48class IniFile;
49class Serializable;
50class Checkpoint;
51class SimObject;
52class EventQueue;
52
53/** The current version of the checkpoint format.
54 * This should be incremented by 1 and only 1 for every new version, where a new
55 * version is defined as a checkpoint created before this version won't work on
56 * the current version until the checkpoint format is updated. Adding a new
57 * SimObject shouldn't cause the version number to increase, only changes to
58 * existing objects such as serializing/unserializing more state, changing sizes
59 * of serialized arrays, etc. */

--- 245 unchanged lines hidden ---
53
54/** The current version of the checkpoint format.
55 * This should be incremented by 1 and only 1 for every new version, where a new
56 * version is defined as a checkpoint created before this version won't work on
57 * the current version until the checkpoint format is updated. Adding a new
58 * SimObject shouldn't cause the version number to increase, only changes to
59 * existing objects such as serializing/unserializing more state, changing sizes
60 * of serialized arrays, etc. */

--- 245 unchanged lines hidden ---