Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xdlrc
model
WireConnection.cpp
Go to the documentation of this file.
1
6
#include <
xdlrc/model/WireConnection.hpp
>
7
8
using namespace
bil;
9
10
11
WireConnection::WireConnection
():
12
m_xOffset(0),
13
m_yOffset(0),
14
m_tileTypeIndex(0),
15
m_wireIndex(0)
16
{
17
18
}
19
20
21
void
WireConnection::xOffset
(
short
offset)
22
{
23
m_xOffset = offset;
24
}
25
26
27
short
WireConnection::xOffset
()
const
28
{
29
return
m_xOffset;
30
}
31
32
33
void
WireConnection::yOffset
(
short
offset)
34
{
35
m_yOffset = offset;
36
}
37
38
39
short
WireConnection::yOffset
()
const
40
{
41
return
m_yOffset;
42
}
43
44
45
void
WireConnection::tileTypeIndex
(
unsigned
short
index)
46
{
47
m_tileTypeIndex = index;
48
}
49
50
51
unsigned
short
WireConnection::tileTypeIndex
()
const
52
{
53
return
m_tileTypeIndex;
54
}
55
56
57
void
WireConnection::wireIndex
(
unsigned
short
index)
58
{
59
m_wireIndex = index;
60
}
61
62
63
unsigned
short
WireConnection::wireIndex
()
const
64
{
65
return
m_wireIndex;
66
}
67
68
69
void
WireConnection::clear
()
70
{
71
m_xOffset = 0;
72
m_yOffset = 0;
73
m_tileTypeIndex = 0;
74
m_wireIndex = 0;
75
}
Generated on Wed Aug 8 2012 21:57:41 for Bitstream Interpretation Library (BIL) by
1.8.1.1