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