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