1 #ifndef __DSENT_MODEL_PORT_INFO_H__
2 #define __DSENT_MODEL_PORT_INFO_H__
4 #include "util/CommonType.h"
5 #include "model/ElectricalModel.h"
6 #include "model/TransitionInfo.h"
13 PortInfo(const String
& port_name_
, const NetIndex
& net_index_
= NetIndex(0, 0));
18 const String
& getPortName() const;
20 const NetIndex
& getNetIndex() const;
21 // Set the transition information of this port
22 void setTransitionInfo(const TransitionInfo
& trans_info_
);
23 // Get the transition information of this port
24 const TransitionInfo
& getTransitionInfo() const;
29 // Net index of the input port
30 NetIndex m_net_index_
;
31 // Store the transition information of this port
32 TransitionInfo m_tran_info_
;
36 #endif // __DSENT_MODEL_PORT_INFO_H__