serialize.hh (11321:02e930db812d) serialize.hh (11655:6c21ab852ed2)
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

354 const std::string cptDir;
355
356 bool find(const std::string &section, const std::string &entry,
357 std::string &value);
358
359 bool findObj(const std::string &section, const std::string &entry,
360 SimObject *&value);
361
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

354 const std::string cptDir;
355
356 bool find(const std::string &section, const std::string &entry,
357 std::string &value);
358
359 bool findObj(const std::string &section, const std::string &entry,
360 SimObject *&value);
361
362
363 bool entryExists(const std::string &section, const std::string &entry);
362 bool sectionExists(const std::string &section);
363
364 // The following static functions have to do with checkpoint
365 // creation rather than restoration. This class makes a handy
366 // namespace for them though. Currently no Checkpoint object is
367 // created on serialization (only unserialization) so we track the
368 // directory name as a global. It would be nice to change this
369 // someday

--- 22 unchanged lines hidden ---
364 bool sectionExists(const std::string &section);
365
366 // The following static functions have to do with checkpoint
367 // creation rather than restoration. This class makes a handy
368 // namespace for them though. Currently no Checkpoint object is
369 // created on serialization (only unserialization) so we track the
370 // directory name as a global. It would be nice to change this
371 // someday

--- 22 unchanged lines hidden ---