Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xdlrc
model
PIP.cpp
Go to the documentation of this file.
1
6
#include <
xdlrc/model/PIP.hpp
>
7
8
using namespace
bil;
9
10
11
PIP::PIP
():
12
m_startWireIndex(0),
13
m_endWireIndex(0),
14
m_direction(PIPDirection::
MONODI_BUF
)
15
{
16
17
}
18
19
20
void
PIP::startWireIndex
(
unsigned
short
index)
21
{
22
m_startWireIndex = index;
23
}
24
25
26
unsigned
short
PIP::startWireIndex
()
const
27
{
28
return
m_startWireIndex;
29
}
30
31
32
void
PIP::endWireIndex
(
unsigned
short
index)
33
{
34
m_endWireIndex = index;
35
}
36
37
38
unsigned
short
PIP::endWireIndex
()
const
39
{
40
return
m_endWireIndex;
41
}
42
43
44
void
PIP::direction
(
PIPDirection::direction_t
dir)
45
{
46
m_direction = dir;
47
}
48
49
50
PIPDirection::direction_t
PIP::direction
()
const
51
{
52
return
m_direction;
53
}
54
55
56
void
PIP::clear
()
57
{
58
m_startWireIndex = 0;
59
m_endWireIndex = 0;
60
m_direction =
PIPDirection::MONODI_BUF
;
61
}
Generated on Wed Aug 8 2012 21:57:41 for Bitstream Interpretation Library (BIL) by
1.8.1.1