diff options
author | Josh Blum | 2013-02-23 01:52:30 -0800 |
---|---|---|
committer | Josh Blum | 2013-02-23 01:52:30 -0800 |
commit | 49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4 (patch) | |
tree | bcefd30e090c3663a57a88cef2326b7c59a758e3 /lib/element.cpp | |
parent | b59f49f3ab58d377b9fb8a7a7d9ed5b459208d5f (diff) | |
download | sandhi-49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4.tar.gz sandhi-49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4.tar.bz2 sandhi-49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4.zip |
gras: use new set/get item size api
Diffstat (limited to 'lib/element.cpp')
-rw-r--r-- | lib/element.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/element.cpp b/lib/element.cpp index a10e298..71e4e69 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -21,11 +21,6 @@ Element::Element(const std::string &name) (*this)->unique_id = ++unique_id_pool; if (GENESIS) std::cerr << "New element: " << to_string() << std::endl; - - //default io signature to something - IOSignature sig; sig.push_back(1); - this->set_input_signature(sig); - this->set_output_signature(sig); } ElementImpl::~ElementImpl(void) @@ -49,23 +44,3 @@ std::string Element::to_string(void) const { return str(boost::format("%s(%d)") % this->name() % this->unique_id()); } - -void Element::set_output_signature(const IOSignature &sig) -{ - (*this)->output_signature = sig; -} - -void Element::set_input_signature(const IOSignature &sig) -{ - (*this)->input_signature = sig; -} - -const IOSignature &Element::input_signature(void) const -{ - return (*this)->input_signature; -} - -const IOSignature &Element::output_signature(void) const -{ - return (*this)->output_signature; -} |