File: a00538_source.html

package info (click to toggle)
qpid-cpp 0.16-6%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 37,232 kB
  • sloc: cpp: 158,939; python: 8,947; sh: 6,701; ruby: 2,080; makefile: 1,838; cs: 1,774; ansic: 1,771; xml: 281; perl: 15; sed: 10
file content (329 lines) | stat: -rw-r--r-- 50,960 bytes parent folder | download
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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!--
 
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 
-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>qpid/management/ManagementObject.h Source File</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
    <link href="tabs.css" rel="stylesheet" type="text/css">
  </head>
  <body bgcolor="#FFFFFF">
  <table border="0" width="90%" align="center">
    <tr>
      <td align="left">
	<a title="Apache Qpid Project Page" href="http://qpid.apache.org">Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET</a>
      </td>

      <td align="right">	
	<a title="Apache Qpid Documentation" href="http://qpid.apache.org/documentation.html">Apache Qpid Documentation</a>
      </td>
    </tr>
  </table>

<!-- Generated by Doxygen 1.7.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">qpid/management/ManagementObject.h</div>  </div>
</div>
<div class="contents">
<a href="a00538.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _ManagementObject_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _ManagementObject_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/*</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span>
<a name="l00007"></a>00007 <span class="comment"> * or more contributor license agreements.  See the NOTICE file</span>
<a name="l00008"></a>00008 <span class="comment"> * distributed with this work for additional information</span>
<a name="l00009"></a>00009 <span class="comment"> * regarding copyright ownership.  The ASF licenses this file</span>
<a name="l00010"></a>00010 <span class="comment"> * to you under the Apache License, Version 2.0 (the</span>
<a name="l00011"></a>00011 <span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span>
<a name="l00012"></a>00012 <span class="comment"> * with the License.  You may obtain a copy of the License at</span>
<a name="l00013"></a>00013 <span class="comment"> *</span>
<a name="l00014"></a>00014 <span class="comment"> *   http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00015"></a>00015 <span class="comment"> *</span>
<a name="l00016"></a>00016 <span class="comment"> * Unless required by applicable law or agreed to in writing,</span>
<a name="l00017"></a>00017 <span class="comment"> * software distributed under the License is distributed on an</span>
<a name="l00018"></a>00018 <span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span>
<a name="l00019"></a>00019 <span class="comment"> * KIND, either express or implied.  See the License for the</span>
<a name="l00020"></a>00020 <span class="comment"> * specific language governing permissions and limitations</span>
<a name="l00021"></a>00021 <span class="comment"> * under the License.</span>
<a name="l00022"></a>00022 <span class="comment"> *</span>
<a name="l00023"></a>00023 <span class="comment"> */</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="a00482.html">qpid/CommonImportExport.h</a>&quot;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="a00539.html">qpid/management/Mutex.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="a00569.html">qpid/types/Variant.h</a>&quot;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keyword">namespace </span>qpid {
<a name="l00033"></a>00033 <span class="keyword">namespace </span>management {
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="keyword">class </span>Manageable;
<a name="l00036"></a>00036 <span class="keyword">class </span>ObjectId;
<a name="l00037"></a>00037 <span class="keyword">class </span>ManagementObject;
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="keyword">class </span>AgentAttachment {
<a name="l00041"></a><a class="code" href="a00008.html#a56c45e294cbc98e460b58b200d588be6">00041</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00237.html">ObjectId</a>;
<a name="l00042"></a>00042 <span class="keyword">private</span>:
<a name="l00043"></a>00043     uint64_t first;
<a name="l00044"></a>00044 <span class="keyword">public</span>:
<a name="l00045"></a><a class="code" href="a00008.html#a921b89ab690517f0660bb9fdd404c095">00045</a>     <a class="code" href="a00008.html#a921b89ab690517f0660bb9fdd404c095">AgentAttachment</a>() : first(0) {}
<a name="l00046"></a>00046     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00008.html#a00d275fbb3736be75f84859711693fba">setBanks</a>(<a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> broker, <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> bank);
<a name="l00047"></a><a class="code" href="a00008.html#a24b58a977d1e91452b068f06f8320b06">00047</a>     uint64_t <a class="code" href="a00008.html#a24b58a977d1e91452b068f06f8320b06">getFirst</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> first; }
<a name="l00048"></a>00048 };
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">class </span>ObjectId {
<a name="l00052"></a>00052 <span class="keyword">protected</span>:
<a name="l00053"></a><a class="code" href="a00237.html#ab4bd2aea2597bbadbf5b14ddadec537a">00053</a>     <span class="keyword">const</span> <a class="code" href="a00008.html">AgentAttachment</a>* <a class="code" href="a00237.html#ab4bd2aea2597bbadbf5b14ddadec537a">agent</a>;
<a name="l00054"></a><a class="code" href="a00237.html#abaeaccf5b83f0d64f1df1292d5720eb1">00054</a>     uint64_t <a class="code" href="a00237.html#abaeaccf5b83f0d64f1df1292d5720eb1">first</a>;
<a name="l00055"></a><a class="code" href="a00237.html#a240c22a2fc010dbec28d724b6229f386">00055</a>     uint64_t <a class="code" href="a00237.html#a240c22a2fc010dbec28d724b6229f386">second</a>;
<a name="l00056"></a><a class="code" href="a00237.html#a7cf3992fbd77e8232b187c168d25e468">00056</a>     uint64_t <a class="code" href="a00237.html#a7cf3992fbd77e8232b187c168d25e468">agentEpoch</a>;
<a name="l00057"></a><a class="code" href="a00237.html#a189e5031896355275776d3b4fcf6e5ee">00057</a>     std::string <a class="code" href="a00237.html#a189e5031896355275776d3b4fcf6e5ee">v2Key</a>;
<a name="l00058"></a><a class="code" href="a00237.html#a1aa85c966c00bd42f933d70627149b87">00058</a>     std::string <a class="code" href="a00237.html#a1aa85c966c00bd42f933d70627149b87">agentName</a>;
<a name="l00059"></a>00059     <span class="keywordtype">void</span> <a class="code" href="a00237.html#a8518d313f2eb6ee4ebcfadb0e185b71d">fromString</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;);
<a name="l00060"></a>00060 <span class="keyword">public</span>:
<a name="l00061"></a><a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">00061</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>() : <a class="code" href="a00237.html#ab4bd2aea2597bbadbf5b14ddadec537a">agent</a>(0), <a class="code" href="a00237.html#abaeaccf5b83f0d64f1df1292d5720eb1">first</a>(0), <a class="code" href="a00237.html#a240c22a2fc010dbec28d724b6229f386">second</a>(0), <a class="code" href="a00237.html#a7cf3992fbd77e8232b187c168d25e468">agentEpoch</a>(0) {}
<a name="l00062"></a><a class="code" href="a00237.html#a4f639d9282a0a830a6e8196b56674317">00062</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<span class="keyword">const</span> <a class="code" href="a00385.html" title="Represents a value of variable type.">types::Variant</a>&amp; map) :
<a name="l00063"></a>00063     <a class="code" href="a00237.html#ab4bd2aea2597bbadbf5b14ddadec537a">agent</a>(0), <a class="code" href="a00237.html#abaeaccf5b83f0d64f1df1292d5720eb1">first</a>(0), <a class="code" href="a00237.html#a240c22a2fc010dbec28d724b6229f386">second</a>(0), <a class="code" href="a00237.html#a7cf3992fbd77e8232b187c168d25e468">agentEpoch</a>(0) { <a class="code" href="a00237.html#ab19f8e4091ac452b070f70bb1b53a8c9">mapDecode</a>(map.<a class="code" href="a00385.html#a3f964dfc4bc3db1d6e72c30cfc75953a">asMap</a>()); }
<a name="l00064"></a>00064     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> flags, <a class="code" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> seq, <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> broker);
<a name="l00065"></a>00065     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<a class="code" href="a00008.html">AgentAttachment</a>* _agent, <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> flags, <a class="code" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> seq);
<a name="l00066"></a>00066     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<a class="code" href="a00170.html" title="STL class.">std::istream</a>&amp;);
<a name="l00067"></a>00067     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;);
<a name="l00068"></a><a class="code" href="a00237.html#a8a746c4c1ac4d2ef21f8f7fc5e80e1b0">00068</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; agentAddress, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; key,
<a name="l00069"></a>00069                                 uint64_t epoch=0) : <a class="code" href="a00237.html#ab4bd2aea2597bbadbf5b14ddadec537a">agent</a>(0), <a class="code" href="a00237.html#abaeaccf5b83f0d64f1df1292d5720eb1">first</a>(0), <a class="code" href="a00237.html#a240c22a2fc010dbec28d724b6229f386">second</a>(0),
<a name="l00070"></a>00070       <a class="code" href="a00237.html#a7cf3992fbd77e8232b187c168d25e468">agentEpoch</a>(epoch), <a class="code" href="a00237.html#a189e5031896355275776d3b4fcf6e5ee">v2Key</a>(key), <a class="code" href="a00237.html#a1aa85c966c00bd42f933d70627149b87">agentName</a>(agentAddress) {}
<a name="l00071"></a>00071 
<a name="l00072"></a>00072     <span class="comment">// Deprecated:</span>
<a name="l00073"></a>00073     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a17f40ae4fd0cb5ea20dbaf10fbb7d754">ObjectId</a>(<a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> flags, <a class="code" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> seq, <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> broker, uint64_t <span class="keywordtype">object</span>);
<a name="l00074"></a>00074     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">bool</span> <a class="code" href="a00237.html#ab206c90e23fb003515ade47dc2376ee2">operator==</a>(<span class="keyword">const</span> <a class="code" href="a00237.html">ObjectId</a> &amp;other) <span class="keyword">const</span>;
<a name="l00075"></a>00075     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">bool</span> <a class="code" href="a00237.html#a9a6afde7ef41782eb00ad393a849bb8c">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="a00237.html">ObjectId</a> &amp;other) <span class="keyword">const</span>;
<a name="l00076"></a>00076     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#aa7f475dfa206d64c32177c5b15b9194e">mapEncode</a>(<a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; map) <span class="keyword">const</span>;
<a name="l00077"></a>00077     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#ab19f8e4091ac452b070f70bb1b53a8c9">mapDecode</a>(<span class="keyword">const</span> <a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; map);
<a name="l00078"></a>00078     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00237.html#a224e5b5dabe9e47afe7f2c0fdc77bcdd">operator types::Variant::Map</a>() <span class="keyword">const</span>;
<a name="l00079"></a><a class="code" href="a00237.html#a851ebfa3385c324a573b6357f3c160e9">00079</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="a00237.html#a851ebfa3385c324a573b6357f3c160e9">encodedSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 16; };
<a name="l00080"></a>00080     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#ab5531bfce7090227e052d4afdaf58632">encode</a>(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; buffer) <span class="keyword">const</span>;
<a name="l00081"></a>00081     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#ab82c2b7bd02301a6aff7ad177ec1cdf6">decode</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; buffer);
<a name="l00082"></a>00082     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">bool</span> <a class="code" href="a00237.html#ae9f0709df5c902d8e1d12e4595380eca">equalV1</a>(<span class="keyword">const</span> <a class="code" href="a00237.html">ObjectId</a> &amp;other) <span class="keyword">const</span>;
<a name="l00083"></a><a class="code" href="a00237.html#ac4adb286a0d080b7a96110960e4ce0c0">00083</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#ac4adb286a0d080b7a96110960e4ce0c0">setV2Key</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; _key) { <a class="code" href="a00237.html#a189e5031896355275776d3b4fcf6e5ee">v2Key</a> = _key; }
<a name="l00084"></a>00084     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#ac4adb286a0d080b7a96110960e4ce0c0">setV2Key</a>(<span class="keyword">const</span> <a class="code" href="a00201.html">ManagementObject</a>&amp; <span class="keywordtype">object</span>);
<a name="l00085"></a><a class="code" href="a00237.html#afaf3b99f50e1831d2e93bd9b5177e9a7">00085</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00237.html#afaf3b99f50e1831d2e93bd9b5177e9a7">setAgentName</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; _name) { <a class="code" href="a00237.html#a1aa85c966c00bd42f933d70627149b87">agentName</a> = _name; }
<a name="l00086"></a><a class="code" href="a00237.html#a6778e0827f59eaff09a2bd5d0031a29f">00086</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <span class="keyword">const</span> std::string&amp; <a class="code" href="a00237.html#a6778e0827f59eaff09a2bd5d0031a29f">getAgentName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="a00237.html#a1aa85c966c00bd42f933d70627149b87">agentName</a>; }
<a name="l00087"></a><a class="code" href="a00237.html#a2693ee5db4301bb09389995297f8c765">00087</a>     <a class="code" href="a00482.html#a22b814cc5ef605d90a1295eae41f4ee4">QPID_COMMON_INLINE_EXTERN</a> <span class="keyword">const</span> std::string&amp; <a class="code" href="a00237.html#a2693ee5db4301bb09389995297f8c765">getV2Key</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="a00237.html#a189e5031896355275776d3b4fcf6e5ee">v2Key</a>; }
<a name="l00088"></a>00088     <span class="keyword">friend</span> <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> std::ostream&amp; <a class="code" href="a00237.html#aeb344e4d495ab9a7add34d0a2f25af39">operator&lt;&lt;</a>(<a class="code" href="a00243.html" title="STL class.">std::ostream</a>&amp;, <span class="keyword">const</span> <a class="code" href="a00237.html">ObjectId</a>&amp;);
<a name="l00089"></a>00089 };
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="keyword">class </span>ManagementItem {
<a name="l00092"></a>00092 <span class="keyword">public</span>:
<a name="l00093"></a><a class="code" href="a00200.html#a3ed17a93c80c0b71ab71fc8fe66eacec">00093</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a3ed17a93c80c0b71ab71fc8fe66eacec">TYPE_U8</a>        = 1;
<a name="l00094"></a><a class="code" href="a00200.html#aad710349e8c4a555b4f851f0dd14aa72">00094</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#aad710349e8c4a555b4f851f0dd14aa72">TYPE_U16</a>       = 2;
<a name="l00095"></a><a class="code" href="a00200.html#a8eeb15d7ed85b6bdba25004992780ca8">00095</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a8eeb15d7ed85b6bdba25004992780ca8">TYPE_U32</a>       = 3;
<a name="l00096"></a><a class="code" href="a00200.html#a66c1403c61072e9b527a0a7f29e68305">00096</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a66c1403c61072e9b527a0a7f29e68305">TYPE_U64</a>       = 4;
<a name="l00097"></a><a class="code" href="a00200.html#a2d04ed6b892bdc8c90f0444295226c95">00097</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a2d04ed6b892bdc8c90f0444295226c95">TYPE_SSTR</a>      = 6;
<a name="l00098"></a><a class="code" href="a00200.html#a414f9c1db80e4748134684e7f65ff322">00098</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a414f9c1db80e4748134684e7f65ff322">TYPE_LSTR</a>      = 7;
<a name="l00099"></a><a class="code" href="a00200.html#a1ac1f7b6eda94f5e5d714568eaddd02a">00099</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a1ac1f7b6eda94f5e5d714568eaddd02a">TYPE_ABSTIME</a>   = 8;
<a name="l00100"></a><a class="code" href="a00200.html#a02dd138d66aefb1c3546b128c3008916">00100</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a02dd138d66aefb1c3546b128c3008916">TYPE_DELTATIME</a> = 9;
<a name="l00101"></a><a class="code" href="a00200.html#a32fc7353e3255d9b4c5b8a45dfb0f771">00101</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a32fc7353e3255d9b4c5b8a45dfb0f771">TYPE_REF</a>       = 10;
<a name="l00102"></a><a class="code" href="a00200.html#a5c53fe4759fe304c45731ab6a6b0d15f">00102</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a5c53fe4759fe304c45731ab6a6b0d15f">TYPE_BOOL</a>      = 11;
<a name="l00103"></a><a class="code" href="a00200.html#a50c88e06345c8d40b8ac024a3e8e540f">00103</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a50c88e06345c8d40b8ac024a3e8e540f">TYPE_FLOAT</a>     = 12;
<a name="l00104"></a><a class="code" href="a00200.html#a025cf0b9c8d3030a7474ec0d8085e22a">00104</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a025cf0b9c8d3030a7474ec0d8085e22a">TYPE_DOUBLE</a>    = 13;
<a name="l00105"></a><a class="code" href="a00200.html#a39194ced1d85391148c62114af1f0bea">00105</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a39194ced1d85391148c62114af1f0bea">TYPE_UUID</a>      = 14;
<a name="l00106"></a><a class="code" href="a00200.html#aafc2a333e739dafdb0ef9086caaf4213">00106</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#aafc2a333e739dafdb0ef9086caaf4213">TYPE_FTABLE</a>    = 15;
<a name="l00107"></a><a class="code" href="a00200.html#a2bcd55d61202efbb7ab9158fe7299d54">00107</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a2bcd55d61202efbb7ab9158fe7299d54">TYPE_S8</a>        = 16;
<a name="l00108"></a><a class="code" href="a00200.html#a911492576a26f7f795c8926f9b2ebd21">00108</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a911492576a26f7f795c8926f9b2ebd21">TYPE_S16</a>       = 17;
<a name="l00109"></a><a class="code" href="a00200.html#a173728b03bbe9f4ebb30ce29462ef74a">00109</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a173728b03bbe9f4ebb30ce29462ef74a">TYPE_S32</a>       = 18;
<a name="l00110"></a><a class="code" href="a00200.html#a11e1ec88242fcede6e5d1484a129434e">00110</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a11e1ec88242fcede6e5d1484a129434e">TYPE_S64</a>       = 19;
<a name="l00111"></a><a class="code" href="a00200.html#a35557d9e999eec0ed51a2437d8abdf54">00111</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a35557d9e999eec0ed51a2437d8abdf54">TYPE_LIST</a>      = 21;
<a name="l00112"></a>00112 
<a name="l00113"></a><a class="code" href="a00200.html#af88765df78374dc3e86249bf57e6a1a0">00113</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#af88765df78374dc3e86249bf57e6a1a0">ACCESS_RC</a> = 1;
<a name="l00114"></a><a class="code" href="a00200.html#acaa9362ed3b1c044728ad6e46aefbc73">00114</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#acaa9362ed3b1c044728ad6e46aefbc73">ACCESS_RW</a> = 2;
<a name="l00115"></a><a class="code" href="a00200.html#acb3834b6aa774434f5757570e84a7cde">00115</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#acb3834b6aa774434f5757570e84a7cde">ACCESS_RO</a> = 3;
<a name="l00116"></a>00116 
<a name="l00117"></a><a class="code" href="a00200.html#ac03c7d668d625ec77a7b6582080ed85a">00117</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#ac03c7d668d625ec77a7b6582080ed85a">DIR_I</a>     = 1;
<a name="l00118"></a><a class="code" href="a00200.html#a3e0dad394812ee2d34f15bf06f81a1ec">00118</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a3e0dad394812ee2d34f15bf06f81a1ec">DIR_O</a>     = 2;
<a name="l00119"></a><a class="code" href="a00200.html#a873a8e4c9f2f90f0dfcfecb466f06880">00119</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a873a8e4c9f2f90f0dfcfecb466f06880">DIR_IO</a>    = 3;
<a name="l00120"></a>00120 
<a name="l00121"></a><a class="code" href="a00200.html#aba08e17b8ebdbc99013c903ae1dae8f5">00121</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#aba08e17b8ebdbc99013c903ae1dae8f5">FLAG_CONFIG</a> = 0x01;
<a name="l00122"></a><a class="code" href="a00200.html#a19557e35e18aec87132b305afd79a67a">00122</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a19557e35e18aec87132b305afd79a67a">FLAG_INDEX</a>  = 0x02;
<a name="l00123"></a><a class="code" href="a00200.html#a0c9fa1b2f3353fd8be094d51a21ebf87">00123</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a0c9fa1b2f3353fd8be094d51a21ebf87">FLAG_END</a>    = 0x80;
<a name="l00124"></a>00124 
<a name="l00125"></a><a class="code" href="a00200.html#a6fd07b5a2ae327dbd190d0c28fd48f8e">00125</a>     <span class="keyword">const</span> <span class="keyword">static</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a6fd07b5a2ae327dbd190d0c28fd48f8e">CLASS_KIND_TABLE</a> = 1;
<a name="l00126"></a><a class="code" href="a00200.html#a6e4f9a9feb036af2d4ac95352da22188">00126</a>     <span class="keyword">const</span> <span class="keyword">static</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="a00200.html#a6e4f9a9feb036af2d4ac95352da22188">CLASS_KIND_EVENT</a> = 2;
<a name="l00127"></a>00127 
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 
<a name="l00130"></a>00130 <span class="keyword">public</span>:
<a name="l00131"></a><a class="code" href="a00200.html#a0abbd2ddc23836b8ac6fbdd4b34ed992">00131</a>     <span class="keyword">virtual</span> <a class="code" href="a00200.html#a0abbd2ddc23836b8ac6fbdd4b34ed992">~ManagementItem</a>() {}
<a name="l00132"></a>00132 };
<a name="l00133"></a>00133 
<a name="l00134"></a>00134 <span class="keyword">class </span><a class="code" href="a00482.html#a576adb7800c9b864175ee17c892bca14">QPID_COMMON_CLASS_EXTERN</a> ManagementObject : <span class="keyword">public</span> ManagementItem
<a name="l00135"></a>00135 {
<a name="l00136"></a>00136 <span class="keyword">protected</span>:
<a name="l00137"></a>00137 
<a name="l00138"></a><a class="code" href="a00201.html#af23a1c225dd50cbcf7c9463d6b75e140">00138</a>     uint64_t         <a class="code" href="a00201.html#af23a1c225dd50cbcf7c9463d6b75e140">createTime</a>;
<a name="l00139"></a><a class="code" href="a00201.html#a578e38dbbe4f5bce9081ce157bb81c67">00139</a>     uint64_t         <a class="code" href="a00201.html#a578e38dbbe4f5bce9081ce157bb81c67">destroyTime</a>;
<a name="l00140"></a><a class="code" href="a00201.html#a5dcf0ef514f1d745f4e4846b93a7ce5f">00140</a>     uint64_t         <a class="code" href="a00201.html#a5dcf0ef514f1d745f4e4846b93a7ce5f">updateTime</a>;
<a name="l00141"></a><a class="code" href="a00201.html#ae06aa66e6459776d64470fb4be6d92dd">00141</a>     <a class="code" href="a00237.html">ObjectId</a>         <a class="code" href="a00201.html#ae06aa66e6459776d64470fb4be6d92dd">objectId</a>;
<a name="l00142"></a><a class="code" href="a00201.html#a96f8f7b8b2b62b9be3450242811d8fbb">00142</a>     <span class="keyword">mutable</span> <span class="keywordtype">bool</span>     <a class="code" href="a00201.html#a96f8f7b8b2b62b9be3450242811d8fbb">configChanged</a>;
<a name="l00143"></a><a class="code" href="a00201.html#abaceab8335aa7c9b4583906d4f2e2776">00143</a>     <span class="keyword">mutable</span> <span class="keywordtype">bool</span>     <a class="code" href="a00201.html#abaceab8335aa7c9b4583906d4f2e2776">instChanged</a>;
<a name="l00144"></a><a class="code" href="a00201.html#a3ccd7e0d35fb13a96f1cc9da63da9afc">00144</a>     <span class="keywordtype">bool</span>             <a class="code" href="a00201.html#a3ccd7e0d35fb13a96f1cc9da63da9afc">deleted</a>;
<a name="l00145"></a><a class="code" href="a00201.html#a10ac30e8072e21c00a5a3e5bad8c80b9">00145</a>     <a class="code" href="a00197.html">Manageable</a>*      <a class="code" href="a00201.html#a10ac30e8072e21c00a5a3e5bad8c80b9">coreObject</a>;
<a name="l00146"></a><a class="code" href="a00201.html#a0a5d22d857d86d6b76420eb28d2a2951">00146</a>     <span class="keyword">mutable</span> <a class="code" href="a00221.html">Mutex</a>    <a class="code" href="a00201.html#a0a5d22d857d86d6b76420eb28d2a2951">accessLock</a>;
<a name="l00147"></a><a class="code" href="a00201.html#ac77d6ce123f9af8c60187e0f47e1474a">00147</a>     <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>         <a class="code" href="a00201.html#ac77d6ce123f9af8c60187e0f47e1474a">flags</a>;
<a name="l00148"></a>00148 
<a name="l00149"></a><a class="code" href="a00201.html#ae70c6dc3dfd298d363ced758368cb7f0">00149</a>     <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="a00201.html#ae70c6dc3dfd298d363ced758368cb7f0">nextThreadIndex</a>;
<a name="l00150"></a><a class="code" href="a00201.html#a1fbba906114a7900201b93549cd6d470">00150</a>     <span class="keywordtype">bool</span>             <a class="code" href="a00201.html#a1fbba906114a7900201b93549cd6d470">forcePublish</a>;
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">int</span>  getThreadIndex();
<a name="l00153"></a>00153     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> writeTimestamps(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; buf) <span class="keyword">const</span>;
<a name="l00154"></a>00154     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> readTimestamps(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; buf);
<a name="l00155"></a>00155     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> writeTimestampsSize() <span class="keyword">const</span>;
<a name="l00156"></a>00156 
<a name="l00157"></a>00157   <span class="keyword">public</span>:
<a name="l00158"></a><a class="code" href="a00201.html#a51e79b865336e48645beaf026e96f4e4">00158</a>     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> MD5_LEN = 16;
<a name="l00159"></a><a class="code" href="a00201.html#ae5aa99ff4c1404b175da2c385f2ce56d">00159</a>     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="a00201.html#ae5aa99ff4c1404b175da2c385f2ce56d">maxThreads</a>;
<a name="l00160"></a>00160     <span class="comment">//typedef void (*writeSchemaCall_t) (qpid::framing::Buffer&amp;);</span>
<a name="l00161"></a><a class="code" href="a00201.html#aec4753f5ac06d72f6d11e620f348b134">00161</a>     <span class="keyword">typedef</span> void (*writeSchemaCall_t) (std::string&amp;);
<a name="l00162"></a>00162 
<a name="l00163"></a>00163     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <a class="code" href="a00201.html">ManagementObject</a>(<a class="code" href="a00197.html">Manageable</a>* _core);
<a name="l00164"></a><a class="code" href="a00201.html#aefe671af947a37be663213b4446e7402">00164</a>     <span class="keyword">virtual</span> <a class="code" href="a00201.html#aefe671af947a37be663213b4446e7402">~ManagementObject</a>() {}
<a name="l00165"></a>00165 
<a name="l00166"></a>00166     <span class="keyword">virtual</span> writeSchemaCall_t getWriteSchemaCall() = 0;
<a name="l00167"></a>00167     <span class="keyword">virtual</span> std::string getKey() <span class="keyword">const</span> = 0;
<a name="l00168"></a>00168 
<a name="l00169"></a>00169     <span class="comment">// Encode &amp; Decode the property and statistics values</span>
<a name="l00170"></a>00170     <span class="comment">// for this object.</span>
<a name="l00171"></a>00171     <span class="keyword">virtual</span> <span class="keywordtype">void</span> mapEncodeValues(<a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; map,
<a name="l00172"></a>00172                                  <span class="keywordtype">bool</span> includeProperties,
<a name="l00173"></a>00173                                  <span class="keywordtype">bool</span> includeStatistics) = 0;
<a name="l00174"></a>00174     <span class="keyword">virtual</span> <span class="keywordtype">void</span> mapDecodeValues(<span class="keyword">const</span> <a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; map) = 0;
<a name="l00175"></a>00175     <span class="keyword">virtual</span> <span class="keywordtype">void</span> doMethod(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;           methodName,
<a name="l00176"></a>00176                           <span class="keyword">const</span> <a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; inMap,
<a name="l00177"></a>00177                           <a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; outMap,
<a name="l00178"></a>00178                           <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; userId) = 0;
<a name="l00179"></a>00179     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> writeTimestamps(<a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; map) <span class="keyword">const</span>;
<a name="l00180"></a>00180     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> readTimestamps(<span class="keyword">const</span> <a class="code" href="a00202.html" title="STL class.">types::Variant::Map</a>&amp; buf);
<a name="l00181"></a>00181 
<a name="l00186"></a><a class="code" href="a00201.html#aad6d82c6e98ef2e3acd9909b0cae6fb6">00186</a>     <span class="keyword">virtual</span> <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="a00201.html#aad6d82c6e98ef2e3acd9909b0cae6fb6" title="The following five methods are not pure-virtual because they will only be overridden in cases where Q...">writePropertiesSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; }
<a name="l00187"></a><a class="code" href="a00201.html#a35dec997c668a918e250a0cec78cd258">00187</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00201.html#a35dec997c668a918e250a0cec78cd258">readProperties</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;) {}
<a name="l00188"></a><a class="code" href="a00201.html#adf698bd5ad16bfd4f95c0d34cd55269c">00188</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00201.html#adf698bd5ad16bfd4f95c0d34cd55269c">writeProperties</a>(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;)<span class="keyword"> const </span>{}
<a name="l00189"></a><a class="code" href="a00201.html#a229a885d0b622192806ce1fd2eaaee5f">00189</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00201.html#a229a885d0b622192806ce1fd2eaaee5f">writeStatistics</a>(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;, <span class="keywordtype">bool</span> = <span class="keyword">false</span>) {}
<a name="l00190"></a><a class="code" href="a00201.html#af4c38bf74e6e96d8d1d4afd9ac73e91a">00190</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00201.html#af4c38bf74e6e96d8d1d4afd9ac73e91a">doMethod</a>(<a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;, <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp;) {}
<a name="l00191"></a>00191 
<a name="l00192"></a>00192     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setReference(<a class="code" href="a00237.html">ObjectId</a> objectId);
<a name="l00193"></a>00193 
<a name="l00194"></a>00194     <span class="keyword">virtual</span> std::string&amp; getClassName() <span class="keyword">const</span> = 0;
<a name="l00195"></a>00195     <span class="keyword">virtual</span> std::string&amp; getPackageName() <span class="keyword">const</span> = 0;
<a name="l00196"></a>00196     <span class="keyword">virtual</span> <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>*     getMd5Sum() <span class="keyword">const</span> = 0;
<a name="l00197"></a>00197 
<a name="l00198"></a><a class="code" href="a00201.html#ab5a746ab0e92671d9485206bb9c6e1be">00198</a>     <span class="keywordtype">void</span>         <a class="code" href="a00201.html#ab5a746ab0e92671d9485206bb9c6e1be">setObjectId</a>(<a class="code" href="a00237.html">ObjectId</a> oid) { objectId = oid; }
<a name="l00199"></a><a class="code" href="a00201.html#a9e80078c9de75269e6ec4df89ee23474">00199</a>     <a class="code" href="a00237.html">ObjectId</a>     <a class="code" href="a00201.html#a9e80078c9de75269e6ec4df89ee23474">getObjectId</a>() { <span class="keywordflow">return</span> objectId; }
<a name="l00200"></a><a class="code" href="a00201.html#a8937265b8dc7dec332a97b368c3d66ca">00200</a>     <span class="keyword">inline</span>  <span class="keywordtype">bool</span> <a class="code" href="a00201.html#a8937265b8dc7dec332a97b368c3d66ca">getConfigChanged</a>() { <span class="keywordflow">return</span> configChanged; }
<a name="l00201"></a><a class="code" href="a00201.html#a01cd2e25a7cb543738428599f9c45ad0">00201</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a00201.html#a01cd2e25a7cb543738428599f9c45ad0">getInstChanged</a>() { <span class="keywordflow">return</span> instChanged; }
<a name="l00202"></a><a class="code" href="a00201.html#a885c83f3acc032452450b83e6ed546bd">00202</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a00201.html#a885c83f3acc032452450b83e6ed546bd">hasInst</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
<a name="l00203"></a><a class="code" href="a00201.html#a3ec6738edb8ff5a4051fca35a7979d3e">00203</a>     <span class="keyword">inline</span>  <span class="keywordtype">void</span> <a class="code" href="a00201.html#a3ec6738edb8ff5a4051fca35a7979d3e">setForcePublish</a>(<span class="keywordtype">bool</span> f) { forcePublish = f; }
<a name="l00204"></a><a class="code" href="a00201.html#a09b2906ff389fdbc433210ada9dd26f6">00204</a>     <span class="keyword">inline</span>  <span class="keywordtype">bool</span> <a class="code" href="a00201.html#a09b2906ff389fdbc433210ada9dd26f6">getForcePublish</a>() { <span class="keywordflow">return</span> forcePublish; }
<a name="l00205"></a>00205     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> setUpdateTime();
<a name="l00206"></a>00206     <a class="code" href="a00482.html#a0b7cbe1dd21be86348943cd971d33a20">QPID_COMMON_EXTERN</a> <span class="keywordtype">void</span> resourceDestroy();
<a name="l00207"></a><a class="code" href="a00201.html#aae51c00221cedcd268d58e9b29b7ed7f">00207</a>     <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a00201.html#aae51c00221cedcd268d58e9b29b7ed7f">isDeleted</a>() { <span class="keywordflow">return</span> deleted; }
<a name="l00208"></a><a class="code" href="a00201.html#a9be2a25f1a981b9dbc03f62c1899b5a7">00208</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="a00201.html#a9be2a25f1a981b9dbc03f62c1899b5a7">setFlags</a>(<a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> f) { flags = f; }
<a name="l00209"></a><a class="code" href="a00201.html#a24837cd40d5e7499a1772b513c195eee">00209</a>     <span class="keyword">inline</span> <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="a00201.html#a24837cd40d5e7499a1772b513c195eee">getFlags</a>() { <span class="keywordflow">return</span> flags; }
<a name="l00210"></a><a class="code" href="a00201.html#a1975a3dd73cd923018f0af9991ef8453">00210</a>     <span class="keywordtype">bool</span> <a class="code" href="a00201.html#a1975a3dd73cd923018f0af9991ef8453">isSameClass</a>(<a class="code" href="a00201.html">ManagementObject</a>&amp; other) {
<a name="l00211"></a>00211         <span class="keywordflow">for</span> (<span class="keywordtype">int</span> idx = 0; idx &lt; MD5_LEN; idx++)
<a name="l00212"></a>00212             <span class="keywordflow">if</span> (other.<a class="code" href="a00201.html#a940813e21720abae5b5d668e62fb3400">getMd5Sum</a>()[idx] != getMd5Sum()[idx])
<a name="l00213"></a>00213                 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00214"></a>00214         <span class="keywordflow">return</span> other.<a class="code" href="a00201.html#a4bd0de9f3253d5c0d61b8210e90dd802">getClassName</a>() == getClassName() &amp;&amp;
<a name="l00215"></a>00215             other.<a class="code" href="a00201.html#a18cbecb6bfd93b7eaeeb5eeaa3cf4d89">getPackageName</a>() == getPackageName();
<a name="l00216"></a>00216     }
<a name="l00217"></a>00217 
<a name="l00218"></a>00218     <span class="comment">// QPID_COMMON_EXTERN void encode(qpid::framing::Buffer&amp; buf) const { writeProperties(buf); }</span>
<a name="l00219"></a>00219     <span class="comment">// QPID_COMMON_EXTERN void decode(qpid::framing::Buffer&amp; buf) { readProperties(buf); }</span>
<a name="l00220"></a>00220     <span class="comment">//QPID_COMMON_EXTERN uint32_t encodedSize() const { return writePropertiesSize(); }</span>
<a name="l00221"></a>00221 
<a name="l00222"></a>00222     <span class="comment">// Encode/Decode the entire object as a map</span>
<a name="l00223"></a>00223     <span class="comment">//QPID_COMMON_EXTERN void mapEncode(types::Variant::Map&amp; map,</span>
<a name="l00224"></a>00224     <span class="comment">//bool includeProperties=true,</span>
<a name="l00225"></a>00225     <span class="comment">//bool includeStatistics=true);</span>
<a name="l00226"></a>00226 
<a name="l00227"></a>00227     <span class="comment">//QPID_COMMON_EXTERN void mapDecode(const types::Variant::Map&amp; map);</span>
<a name="l00228"></a>00228 };
<a name="l00229"></a>00229 
<a name="l00230"></a><a class="code" href="a00590.html#a93524fb8ccac9655ca1bfd96eaf750b4">00230</a> <span class="keyword">typedef</span> std::map&lt;ObjectId, ManagementObject*&gt; <a class="code" href="a00590.html#a93524fb8ccac9655ca1bfd96eaf750b4">ManagementObjectMap</a>;
<a name="l00231"></a><a class="code" href="a00590.html#a226a50f42dc09ade6a8aa0c68fa706cf">00231</a> <span class="keyword">typedef</span> std::vector&lt;ManagementObject*&gt; <a class="code" href="a00590.html#a226a50f42dc09ade6a8aa0c68fa706cf">ManagementObjectVector</a>;
<a name="l00232"></a>00232 
<a name="l00233"></a>00233 }}
<a name="l00234"></a>00234 
<a name="l00235"></a>00235 
<a name="l00236"></a>00236 
<a name="l00237"></a>00237 <span class="preprocessor">#endif  </span>
</pre></div></div>
</div>
<!--
 
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 
-->

<hr size="1">
<address style="text-align: left;"><small>
Qpid C++ API Reference</small></address>

<address style="text-align: right;">
<small>
Generated on Thu May 10 2012 for Qpid C++ Client API by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.5</small>
</address>
</body>
</html>