diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-13 20:09:24 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-22 00:49:20 +0000 |
commit | 5f8af6b4eec1a2677965fa9d7818ca67b2274df7 (patch) | |
tree | 3ed66e6b8f609dc41cb5663905abba4456c05391 /src/systemc/core/sc_attr.cc | |
parent | 895f463bbcf6d0a3503c981dd2a8b7d468a5cce7 (diff) | |
download | gem5-5f8af6b4eec1a2677965fa9d7818ca67b2274df7.tar.xz |
systemc: Add some "implementation defined" stuff to sc_attr_cltn.
These "impelementation defined" methods are tested by the regression
tests, so we need to have them. We might as well have the same
general interface as the Accellera implementation since nothing there
seems overly specialized for that environment.
Change-Id: Ief6567fcd9d99d3a0f526cfa3b65043b2c828efa
Reviewed-on: https://gem5-review.googlesource.com/11185
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/sc_attr.cc')
-rw-r--r-- | src/systemc/core/sc_attr.cc | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/systemc/core/sc_attr.cc b/src/systemc/core/sc_attr.cc index 28e0b6010..ca9e0af66 100644 --- a/src/systemc/core/sc_attr.cc +++ b/src/systemc/core/sc_attr.cc @@ -89,4 +89,53 @@ sc_attr_cltn::end() const return (const_iterator)nullptr; } +sc_attr_cltn::sc_attr_cltn() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +sc_attr_cltn::sc_attr_cltn(const sc_attr_cltn &) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +sc_attr_cltn::~sc_attr_cltn() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +bool +sc_attr_cltn::push_back(sc_attr_base *) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return false; +} + +sc_attr_base * +sc_attr_cltn::operator [] (const std::string &name) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return nullptr; +} + +const sc_attr_base * +sc_attr_cltn::operator [] (const std::string &name) const +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return nullptr; +} + +sc_attr_base * +sc_attr_cltn::remove(const std::string &name) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return nullptr; +} + +void +sc_attr_cltn::remove_all() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + } // namespace sc_core |