-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddressBlockInterface_8h_source.html
292 lines (290 loc) · 44 KB
/
AddressBlockInterface_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!-- HTML header for doxygen 1.13.2-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Kactus2: kactus2dev-testing/KactusAPI/include/AddressBlockInterface.h Source File</title>
<link rel="icon" href="appicon.ico" type="image/x-icon" />
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="appicon.png"/></td>
<td id="projectalign">
<div id="projectname">Kactus2
</div>
<div id="projectbrief">Kactus2 reference guide</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function(){initNavTree('AddressBlockInterface_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">AddressBlockInterface.h</div></div>
</div><!--header-->
<div class="contents">
<a href="AddressBlockInterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// File: AddressBlockInterface.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Project: Kactus2</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">// Author: Mikko Teuho</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// Date: 05.05.2020</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">//</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">// Description:</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// Interface for editing address blocks.</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifndef ADDRESSBLOCKINTERFACE_H</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define ADDRESSBLOCKINTERFACE_H</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <KactusAPI/KactusAPIGlobal.h></span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include <<a class="code" href="MemoryBlockInterface_8h.html">MemoryBlockInterface.h</a>></span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include <IPXACTmodels/generaldeclarations.h></span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include <IPXACTmodels/common/AccessTypes.h></span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">class </span>AddressBlock;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">class </span>MemoryBlockBase;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keyword">class </span>AddressBlockValidator;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">class </span><a class="code hl_class" href="classRegisterInterface.html">RegisterInterface</a>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">class </span><a class="code hl_class" href="classBusInterfaceInterface.html">BusInterfaceInterface</a>;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <QVector></span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <QMap></span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html"> 34</a></span><span class="keyword">class </span>KACTUS2_API <a class="code hl_function" href="classAddressBlockInterface.html#aaa6406cea68c82abea267c90d55ed112">AddressBlockInterface</a> : <span class="keyword">public</span> <a class="code hl_function" href="classMemoryBlockInterface.html#a7527a2cce20d73a81b8ebd2a7312036e">MemoryBlockInterface</a></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>{</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#aaa6406cea68c82abea267c90d55ed112"> 49</a></span> <a class="code hl_function" href="classAddressBlockInterface.html#aaa6406cea68c82abea267c90d55ed112">AddressBlockInterface</a>(QSharedPointer<AddressBlockValidator> blockValidator,</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> QSharedPointer<ExpressionParser> expressionParser,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> QSharedPointer<ExpressionFormatter> expressionFormatter,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="classBusInterfaceInterface.html">BusInterfaceInterface</a>* busInterface,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_class" href="classRegisterInterface.html">RegisterInterface</a>* subInterface,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_class" href="classParametersInterface.html">ParametersInterface</a>* parameterInterface);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a326f86e2587eae12e5a2e935fdec2722"> 59</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classAddressBlockInterface.html#a326f86e2587eae12e5a2e935fdec2722">~AddressBlockInterface</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a4f9267f0b47aee2d7a3f12cbeb1f1b30"> 68</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a4f9267f0b47aee2d7a3f12cbeb1f1b30">acceptBlock</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span> <span class="keyword">override</span> <span class="keyword">final</span>;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a6e4731cbc56d6d6685e21d3d3855e13c"> 77</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a6e4731cbc56d6d6685e21d3d3855e13c">getRangeFormattedExpression</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#ab7e24321f21991f2e9559858c1031213"> 86</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#ab7e24321f21991f2e9559858c1031213">getRangeExpression</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a5289d9ddb7f1f74dc84961c57395541a"> 96</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a5289d9ddb7f1f74dc84961c57395541a">setRange</a>(std::string <span class="keyword">const</span>& blockName, std::string <span class="keyword">const</span>& newRange) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#af1e852d67f4733effe80c059b43f21e0"> 106</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#af1e852d67f4733effe80c059b43f21e0">getWidthValue</a>(std::string <span class="keyword">const</span>& blockName, <span class="keywordtype">int</span> <span class="keyword">const</span>& baseNumber = 0) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a3de3f8d93c8d304a97a6373420934ee2"> 115</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a3de3f8d93c8d304a97a6373420934ee2">getWidthFormattedExpression</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a81a52d2b51c84576d0b9d177421ba931"> 124</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a81a52d2b51c84576d0b9d177421ba931">getWidthExpression</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#ae0b5b51b513fa3e10b1b2c887f21e30c"> 134</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#ae0b5b51b513fa3e10b1b2c887f21e30c">setWidth</a>(std::string <span class="keyword">const</span>& blockName, std::string <span class="keyword">const</span>& newWidth) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a66739dbbbc8791c787f77b104561e560"> 143</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a66739dbbbc8791c787f77b104561e560">getUsageString</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a40c3b6dda7b307b92e2e40ab453df8e1"> 152</a></span> General::Usage <a class="code hl_function" href="classAddressBlockInterface.html#a40c3b6dda7b307b92e2e40ab453df8e1">getUsage</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#ab48030a9faab8c787f6b104f6506bd9f"> 162</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#ab48030a9faab8c787f6b104f6506bd9f">setUsage</a>(std::string <span class="keyword">const</span>& blockName, std::string <span class="keyword">const</span>& newUsage) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a141e690f90670d29a2aef3e83845daf6"> 175</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a141e690f90670d29a2aef3e83845daf6">getAccessString</a>(std::string <span class="keyword">const</span>& blockName, <span class="keywordtype">bool</span> getAccessPolicyAccess = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#ac24101223c158836ba5a208342ed162d"> 184</a></span> AccessTypes::Access <a class="code hl_function" href="classAddressBlockInterface.html#ac24101223c158836ba5a208342ed162d">getAccess</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a02269ae0df7ce3aa67f77ac191de79a9"> 196</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a02269ae0df7ce3aa67f77ac191de79a9">setAccess</a>(std::string <span class="keyword">const</span>& blockName, std::string <span class="keyword">const</span>& newAccess, <span class="keywordtype">bool</span> setAccessPolicyAccess = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a672afe334fda1626543365a1c4e16885"> 205</a></span> std::string <a class="code hl_function" href="classAddressBlockInterface.html#a672afe334fda1626543365a1c4e16885">getVolatile</a>(std::string <span class="keyword">const</span>& blockName) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#af0f2358dcaf5c426b3c11facaf7ea9d7"> 215</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#af0f2358dcaf5c426b3c11facaf7ea9d7">setVolatile</a>(std::string <span class="keyword">const</span>& blockName, <span class="keywordtype">bool</span> newVolatile) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a6af289fea9099dd336b0e43001942c6f"> 225</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a6af289fea9099dd336b0e43001942c6f">setVolatile</a>(std::string <span class="keyword">const</span>& blockName, std::string <span class="keyword">const</span>& newVolatileValue);</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a3303303a91d1d04dc24906762dcf36f3"> 235</a></span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classAddressBlockInterface.html#a3303303a91d1d04dc24906762dcf36f3">getAllReferencesToIdInItem</a>(<span class="keyword">const</span> std::string& itemName, std::string <span class="keyword">const</span>& valueID) <span class="keyword">const</span> <span class="keyword">override</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">final</span>;</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a21156cc02db048fac25e527c8f4cc80e"> 243</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a21156cc02db048fac25e527c8f4cc80e">validateItems</a>() const override final;</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a9153f8d72f6eede3903942f973bf1100"> 252</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a9153f8d72f6eede3903942f973bf1100">hasValidRange</a>(std::<span class="keywordtype">string</span> const& itemName) const;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#aaf4fdc1807aa639e7133fa0ebf8e6a7b"> 261</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#aaf4fdc1807aa639e7133fa0ebf8e6a7b">hasValidWidth</a>(std::<span class="keywordtype">string</span> const& itemName) const;</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a768c5ed7cb526fb408d5f8015ba9ff99"> 270</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a768c5ed7cb526fb408d5f8015ba9ff99">hasValidUsage</a>(std::<span class="keywordtype">string</span> const& itemName) const;</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a4891db1cc5547a356ae831b57f603e85"> 278</a></span> virtual <span class="keywordtype">void</span> <a class="code hl_function" href="classAddressBlockInterface.html#a4891db1cc5547a356ae831b57f603e85">addBlock</a>(<span class="keywordtype">int</span> const& row, std::<span class="keywordtype">string</span> const& newBlockName = std::<span class="keywordtype">string</span>(<span class="stringliteral">""</span>)) override final;</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a99e3769eb4c35ea5f4968e6ab14cdcb3"> 287</a></span> virtual std::vector<std::<span class="keywordtype">string</span>> <a class="code hl_function" href="classAddressBlockInterface.html#a99e3769eb4c35ea5f4968e6ab14cdcb3">getExpressionsInSelectedItems</a>(std::vector<std::<span class="keywordtype">string</span>> const& itemNames) const override final;</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span></div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a093cbc8b2ce57d78b997a6f03a8fb4c2"> 294</a></span> <a class="code hl_class" href="classRegisterInterface.html">RegisterInterface</a>* <a class="code hl_function" href="classAddressBlockInterface.html#a093cbc8b2ce57d78b997a6f03a8fb4c2">getSubInterface</a>() const;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span></div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a8845632f7aaad9a25cc26cd4d4b7dbaf"> 303</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a8845632f7aaad9a25cc26cd4d4b7dbaf">hasRegisters</a>(std::<span class="keywordtype">string</span> const& blockName) const;</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span></div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a792a09459ac5e0733b162832600c1908"> 312</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="classAddressBlockInterface.html#a792a09459ac5e0733b162832600c1908">getAccessPolicyCount</a>(std::<span class="keywordtype">string</span> const& blockName) const;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"><a class="line" href="classAddressBlockInterface.html#a8e38c3cf2878bbbf12b4c1387e880180"> 321</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classAddressBlockInterface.html#a8e38c3cf2878bbbf12b4c1387e880180">addAccessPolicy</a>(std::<span class="keywordtype">string</span> const& blockName) const;</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> </div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> </div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span>private:</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span></div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> QSharedPointer<AddressBlock> getAddressBlock(std::<span class="keywordtype">string</span> const& itemName) const;</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span></div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> virtual std::<span class="keywordtype">string</span> getDefaultName() const override final;</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span></div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> virtual QList<QSharedPointer<MemoryBlockBase> > getCopiedBlocks(std::vector<<span class="keywordtype">int</span>> const& selectedRows) const override</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> final;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> virtual QString getMimeType() const override final;</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> virtual QSharedPointer<MemoryBlockBase> createCopyBlock(QSharedPointer<MemoryBlockBase> copiedItem) const</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> override final;</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> virtual <span class="keywordtype">int</span> countItems(QList<QSharedPointer<MemoryBlockBase> > itemList) const override final;</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span></div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> virtual QSharedPointer<MemoryBlockValidator> getValidator() const override final;</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> QSharedPointer<NameGroup> getItem(std::<span class="keywordtype">string</span> const& itemName) const override;</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> </div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> <span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> <span class="comment">// Data.</span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> <span class="comment">//-----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span></div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> QSharedPointer<AddressBlockValidator> validator_;</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span></div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> <a class="code hl_class" href="classRegisterInterface.html">RegisterInterface</a>* subInterface_;</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span>};</div>
</div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span><span class="preprocessor">#endif </span><span class="comment">// ADDRESSBLOCKINTERFACE_H</span></div>
<div class="ttc" id="aMemoryBlockInterface_8h_html"><div class="ttname"><a href="MemoryBlockInterface_8h.html">MemoryBlockInterface.h</a></div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a02269ae0df7ce3aa67f77ac191de79a9"><div class="ttname"><a href="classAddressBlockInterface.html#a02269ae0df7ce3aa67f77ac191de79a9">AddressBlockInterface::setAccess</a></div><div class="ttdeci">bool setAccess(std::string const &blockName, std::string const &newAccess, bool setAccessPolicyAccess=false) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a093cbc8b2ce57d78b997a6f03a8fb4c2"><div class="ttname"><a href="classAddressBlockInterface.html#a093cbc8b2ce57d78b997a6f03a8fb4c2">AddressBlockInterface::getSubInterface</a></div><div class="ttdeci">RegisterInterface * getSubInterface() const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a141e690f90670d29a2aef3e83845daf6"><div class="ttname"><a href="classAddressBlockInterface.html#a141e690f90670d29a2aef3e83845daf6">AddressBlockInterface::getAccessString</a></div><div class="ttdeci">std::string getAccessString(std::string const &blockName, bool getAccessPolicyAccess=false) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a21156cc02db048fac25e527c8f4cc80e"><div class="ttname"><a href="classAddressBlockInterface.html#a21156cc02db048fac25e527c8f4cc80e">AddressBlockInterface::validateItems</a></div><div class="ttdeci">virtual bool validateItems() const override final</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a326f86e2587eae12e5a2e935fdec2722"><div class="ttname"><a href="classAddressBlockInterface.html#a326f86e2587eae12e5a2e935fdec2722">AddressBlockInterface::~AddressBlockInterface</a></div><div class="ttdeci">virtual ~AddressBlockInterface()=default</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a3303303a91d1d04dc24906762dcf36f3"><div class="ttname"><a href="classAddressBlockInterface.html#a3303303a91d1d04dc24906762dcf36f3">AddressBlockInterface::getAllReferencesToIdInItem</a></div><div class="ttdeci">virtual int getAllReferencesToIdInItem(const std::string &itemName, std::string const &valueID) const override final</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a3de3f8d93c8d304a97a6373420934ee2"><div class="ttname"><a href="classAddressBlockInterface.html#a3de3f8d93c8d304a97a6373420934ee2">AddressBlockInterface::getWidthFormattedExpression</a></div><div class="ttdeci">std::string getWidthFormattedExpression(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a40c3b6dda7b307b92e2e40ab453df8e1"><div class="ttname"><a href="classAddressBlockInterface.html#a40c3b6dda7b307b92e2e40ab453df8e1">AddressBlockInterface::getUsage</a></div><div class="ttdeci">General::Usage getUsage(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a4891db1cc5547a356ae831b57f603e85"><div class="ttname"><a href="classAddressBlockInterface.html#a4891db1cc5547a356ae831b57f603e85">AddressBlockInterface::addBlock</a></div><div class="ttdeci">virtual void addBlock(int const &row, std::string const &newBlockName=std::string("")) override final</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a4f9267f0b47aee2d7a3f12cbeb1f1b30"><div class="ttname"><a href="classAddressBlockInterface.html#a4f9267f0b47aee2d7a3f12cbeb1f1b30">AddressBlockInterface::acceptBlock</a></div><div class="ttdeci">virtual bool acceptBlock(std::string const &blockName) const override final</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a5289d9ddb7f1f74dc84961c57395541a"><div class="ttname"><a href="classAddressBlockInterface.html#a5289d9ddb7f1f74dc84961c57395541a">AddressBlockInterface::setRange</a></div><div class="ttdeci">bool setRange(std::string const &blockName, std::string const &newRange) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a66739dbbbc8791c787f77b104561e560"><div class="ttname"><a href="classAddressBlockInterface.html#a66739dbbbc8791c787f77b104561e560">AddressBlockInterface::getUsageString</a></div><div class="ttdeci">std::string getUsageString(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a672afe334fda1626543365a1c4e16885"><div class="ttname"><a href="classAddressBlockInterface.html#a672afe334fda1626543365a1c4e16885">AddressBlockInterface::getVolatile</a></div><div class="ttdeci">std::string getVolatile(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a6af289fea9099dd336b0e43001942c6f"><div class="ttname"><a href="classAddressBlockInterface.html#a6af289fea9099dd336b0e43001942c6f">AddressBlockInterface::setVolatile</a></div><div class="ttdeci">bool setVolatile(std::string const &blockName, std::string const &newVolatileValue)</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a6e4731cbc56d6d6685e21d3d3855e13c"><div class="ttname"><a href="classAddressBlockInterface.html#a6e4731cbc56d6d6685e21d3d3855e13c">AddressBlockInterface::getRangeFormattedExpression</a></div><div class="ttdeci">std::string getRangeFormattedExpression(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a768c5ed7cb526fb408d5f8015ba9ff99"><div class="ttname"><a href="classAddressBlockInterface.html#a768c5ed7cb526fb408d5f8015ba9ff99">AddressBlockInterface::hasValidUsage</a></div><div class="ttdeci">bool hasValidUsage(std::string const &itemName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a792a09459ac5e0733b162832600c1908"><div class="ttname"><a href="classAddressBlockInterface.html#a792a09459ac5e0733b162832600c1908">AddressBlockInterface::getAccessPolicyCount</a></div><div class="ttdeci">int getAccessPolicyCount(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a81a52d2b51c84576d0b9d177421ba931"><div class="ttname"><a href="classAddressBlockInterface.html#a81a52d2b51c84576d0b9d177421ba931">AddressBlockInterface::getWidthExpression</a></div><div class="ttdeci">std::string getWidthExpression(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a8845632f7aaad9a25cc26cd4d4b7dbaf"><div class="ttname"><a href="classAddressBlockInterface.html#a8845632f7aaad9a25cc26cd4d4b7dbaf">AddressBlockInterface::hasRegisters</a></div><div class="ttdeci">bool hasRegisters(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a8e38c3cf2878bbbf12b4c1387e880180"><div class="ttname"><a href="classAddressBlockInterface.html#a8e38c3cf2878bbbf12b4c1387e880180">AddressBlockInterface::addAccessPolicy</a></div><div class="ttdeci">bool addAccessPolicy(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a9153f8d72f6eede3903942f973bf1100"><div class="ttname"><a href="classAddressBlockInterface.html#a9153f8d72f6eede3903942f973bf1100">AddressBlockInterface::hasValidRange</a></div><div class="ttdeci">bool hasValidRange(std::string const &itemName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_a99e3769eb4c35ea5f4968e6ab14cdcb3"><div class="ttname"><a href="classAddressBlockInterface.html#a99e3769eb4c35ea5f4968e6ab14cdcb3">AddressBlockInterface::getExpressionsInSelectedItems</a></div><div class="ttdeci">virtual std::vector< std::string > getExpressionsInSelectedItems(std::vector< std::string > const &itemNames) const override final</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_aaa6406cea68c82abea267c90d55ed112"><div class="ttname"><a href="classAddressBlockInterface.html#aaa6406cea68c82abea267c90d55ed112">AddressBlockInterface::AddressBlockInterface</a></div><div class="ttdeci">AddressBlockInterface(QSharedPointer< AddressBlockValidator > blockValidator, QSharedPointer< ExpressionParser > expressionParser, QSharedPointer< ExpressionFormatter > expressionFormatter, BusInterfaceInterface *busInterface, RegisterInterface *subInterface, ParametersInterface *parameterInterface)</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_aaf4fdc1807aa639e7133fa0ebf8e6a7b"><div class="ttname"><a href="classAddressBlockInterface.html#aaf4fdc1807aa639e7133fa0ebf8e6a7b">AddressBlockInterface::hasValidWidth</a></div><div class="ttdeci">bool hasValidWidth(std::string const &itemName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_ab48030a9faab8c787f6b104f6506bd9f"><div class="ttname"><a href="classAddressBlockInterface.html#ab48030a9faab8c787f6b104f6506bd9f">AddressBlockInterface::setUsage</a></div><div class="ttdeci">bool setUsage(std::string const &blockName, std::string const &newUsage) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_ab7e24321f21991f2e9559858c1031213"><div class="ttname"><a href="classAddressBlockInterface.html#ab7e24321f21991f2e9559858c1031213">AddressBlockInterface::getRangeExpression</a></div><div class="ttdeci">std::string getRangeExpression(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_ac24101223c158836ba5a208342ed162d"><div class="ttname"><a href="classAddressBlockInterface.html#ac24101223c158836ba5a208342ed162d">AddressBlockInterface::getAccess</a></div><div class="ttdeci">AccessTypes::Access getAccess(std::string const &blockName) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_ae0b5b51b513fa3e10b1b2c887f21e30c"><div class="ttname"><a href="classAddressBlockInterface.html#ae0b5b51b513fa3e10b1b2c887f21e30c">AddressBlockInterface::setWidth</a></div><div class="ttdeci">bool setWidth(std::string const &blockName, std::string const &newWidth) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_af0f2358dcaf5c426b3c11facaf7ea9d7"><div class="ttname"><a href="classAddressBlockInterface.html#af0f2358dcaf5c426b3c11facaf7ea9d7">AddressBlockInterface::setVolatile</a></div><div class="ttdeci">bool setVolatile(std::string const &blockName, bool newVolatile) const</div></div>
<div class="ttc" id="aclassAddressBlockInterface_html_af1e852d67f4733effe80c059b43f21e0"><div class="ttname"><a href="classAddressBlockInterface.html#af1e852d67f4733effe80c059b43f21e0">AddressBlockInterface::getWidthValue</a></div><div class="ttdeci">std::string getWidthValue(std::string const &blockName, int const &baseNumber=0) const</div></div>
<div class="ttc" id="aclassBusInterfaceInterface_html"><div class="ttname"><a href="classBusInterfaceInterface.html">BusInterfaceInterface</a></div><div class="ttdoc">Interface for accessing bus interfaces.</div><div class="ttdef"><b>Definition</b> <a href="BusInterfaceInterface_8h_source.html#l00040">BusInterfaceInterface.h:41</a></div></div>
<div class="ttc" id="aclassMemoryBlockInterface_html_a7527a2cce20d73a81b8ebd2a7312036e"><div class="ttname"><a href="classMemoryBlockInterface.html#a7527a2cce20d73a81b8ebd2a7312036e">MemoryBlockInterface::MemoryBlockInterface</a></div><div class="ttdeci">MemoryBlockInterface(QSharedPointer< ExpressionParser > expressionParser, QSharedPointer< ExpressionFormatter > expressionFormatter, BusInterfaceInterface *busInterface, ParametersInterface *parameterInterface)</div></div>
<div class="ttc" id="aclassParametersInterface_html"><div class="ttname"><a href="classParametersInterface.html">ParametersInterface</a></div><div class="ttdoc">Interface for editing parameters.</div><div class="ttdef"><b>Definition</b> <a href="ParametersInterface_8h_source.html#l00024">ParametersInterface.h:25</a></div></div>
<div class="ttc" id="aclassRegisterInterface_html"><div class="ttname"><a href="classRegisterInterface.html">RegisterInterface</a></div><div class="ttdoc">Interface for editing registers.</div><div class="ttdef"><b>Definition</b> <a href="RegisterInterface_8h_source.html#l00034">RegisterInterface.h:35</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_0a34b0d14b66f1f24f20c56542c7133d.html">kactus2dev-testing</a></li><li class="navelem"><a class="el" href="dir_d417dc85f103137458016c4844c9025a.html">KactusAPI</a></li><li class="navelem"><a class="el" href="dir_293dc1c9a4226f1724d124e8d023c02d.html">include</a></li><li class="navelem"><a class="el" href="AddressBlockInterface_8h.html">AddressBlockInterface.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>