diff options
Diffstat (limited to 'ext/dsent/model/PortInfo.cc')
-rw-r--r-- | ext/dsent/model/PortInfo.cc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ext/dsent/model/PortInfo.cc b/ext/dsent/model/PortInfo.cc new file mode 100644 index 000000000..fd859fc7b --- /dev/null +++ b/ext/dsent/model/PortInfo.cc @@ -0,0 +1,35 @@ +#include "model/PortInfo.h" + +namespace DSENT +{ + PortInfo::PortInfo(const String& port_name_, const NetIndex& net_index_) + : m_port_name_(port_name_), m_net_index_(net_index_), m_tran_info_(TransitionInfo()) + { + } + + PortInfo::~PortInfo() + { + } + + const String& PortInfo::getPortName() const + { + return m_port_name_; + } + + const NetIndex& PortInfo::getNetIndex() const + { + return m_net_index_; + } + + void PortInfo::setTransitionInfo(const TransitionInfo& trans_info_) + { + m_tran_info_ = trans_info_; + return; + } + + const TransitionInfo& PortInfo::getTransitionInfo() const + { + return m_tran_info_; + } +} // namespace DSENT + |