serialize.hh (11072:6a447a3138ef) | serialize.hh (11075:f959b7f89d4d) |
---|---|
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 --- 86 unchanged lines hidden (view full) --- 95template <typename DataType, typename BitUnion> 96void paramIn(CheckpointIn &cp, const std::string &name, 97 BitfieldBackend::BitUnionOperators<DataType, BitUnion> &p) 98{ 99 paramIn(cp, name, p.__data); 100} 101 102template <class T> | 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 --- 86 unchanged lines hidden (view full) --- 95template <typename DataType, typename BitUnion> 96void paramIn(CheckpointIn &cp, const std::string &name, 97 BitfieldBackend::BitUnionOperators<DataType, BitUnion> &p) 98{ 99 paramIn(cp, name, p.__data); 100} 101 102template <class T> |
103bool optParamIn(CheckpointIn &cp, const std::string &name, T ¶m); | 103bool optParamIn(CheckpointIn &cp, const std::string &name, T ¶m, 104 bool warn = true); |
104 105template <typename DataType, typename BitUnion> 106bool optParamIn(CheckpointIn &cp, const std::string &name, | 105 106template <typename DataType, typename BitUnion> 107bool optParamIn(CheckpointIn &cp, const std::string &name, |
107 BitfieldBackend::BitUnionOperators<DataType, BitUnion> &p) | 108 BitfieldBackend::BitUnionOperators<DataType, BitUnion> &p, 109 bool warn = true) |
108{ | 110{ |
109 return optParamIn(cp, name, p.__data); | 111 return optParamIn(cp, name, p.__data, warn); |
110} 111 112template <class T> 113void arrayParamOut(CheckpointOut &cp, const std::string &name, 114 const T *param, unsigned size); 115 116template <class T> 117void arrayParamOut(CheckpointOut &cp, const std::string &name, --- 298 unchanged lines hidden --- | 112} 113 114template <class T> 115void arrayParamOut(CheckpointOut &cp, const std::string &name, 116 const T *param, unsigned size); 117 118template <class T> 119void arrayParamOut(CheckpointOut &cp, const std::string &name, --- 298 unchanged lines hidden --- |