Bitstream Interpretation Library (BIL)  0.1
PinWire.cpp
Go to the documentation of this file.
1 
7 
8 using namespace bil;
9 
10 
12  m_wireIndex(0),
13  m_pinIndex(0)
14 {
15 
16 }
17 
18 
19 void PinWire::wireIndex(unsigned short index)
20 {
21  m_wireIndex = index;
22 }
23 
24 
25 unsigned short PinWire::wireIndex() const
26 {
27  return m_wireIndex;
28 }
29 
30 
31 void PinWire::pinIndex(unsigned short index)
32 {
33  m_pinIndex = index;
34 }
35 
36 
37 unsigned short PinWire::pinIndex() const
38 {
39  return m_pinIndex;
40 }
41 
42 
44 {
45  m_wireIndex = 0;
46  m_pinIndex = 0;
47 }