diff options
Diffstat (limited to 'sim/param.hh')
-rw-r--r-- | sim/param.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/param.hh b/sim/param.hh index fb2c9dd44..abc424f04 100644 --- a/sim/param.hh +++ b/sim/param.hh @@ -754,4 +754,13 @@ SimObjectVectorParam<OBJ_CLASS *>::showType(std::ostream &os) const \ os << "vector of " << CLASS_NAME; \ } + +// +// Declarations for low-level parsing & displaying functions. These +// are used internally, but should not be used directly by clients of +// the parameter mechanism, but are declared here so they can be +// shared with the serialization code (see sim/serialize.cc). +template <class T> bool parseParam(const std::string &str, T &data); +template <class T> void showParam(std::ostream &os, const T &data); + #endif // _PARAM_HH |