blob: fd859fc7b70676b39def951e82231065877ad27a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|