Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xdlrc
model
PinWire.cpp
Go to the documentation of this file.
1
6
#include <
xdlrc/model/PinWire.hpp
>
7
8
using namespace
bil;
9
10
11
PinWire::PinWire
():
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
43
void
PinWire::clear
()
44
{
45
m_wireIndex = 0;
46
m_pinIndex = 0;
47
}
Generated on Wed Aug 8 2012 21:57:41 for Bitstream Interpretation Library (BIL) by
1.8.1.1