summaryrefslogtreecommitdiff
path: root/libs/accumulators/doc/accdoc.xml
blob: ed85b5b51dab8209ecadd924fe01a88b4d9dccaa (plain)
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<?xml version="1.0" standalone="yes"?>
<library-reference id="accumulators_framework_reference"><title>Accumulators Framework Reference</title><header name="boost/accumulators/accumulators.hpp">
<para>Includes all of the Accumulators Framework </para></header>
<header name="boost/accumulators/accumulators_fwd.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct name="accumulator_set"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Features"/>
      <template-type-parameter name="Weight"/>
    </template><purpose>A set of accumulators. </purpose><description><para><classname alt="boost::accumulators::accumulator_set">accumulator_set</classname> resolves the dependencies between features and ensures that the accumulators in the set are updated in the proper order.</para><para>acccumulator_set provides a general mechanism to visit the accumulators in the set in order, with or without a filter. You can also fetch a reference to an accumulator that corresponds to a feature. </para></description><method-group name="public member functions">
<method name="visit"><type>void</type><template>
          <template-type-parameter name="UnaryFunction"/>
        </template><parameter name="func"><paramtype>UnaryFunction const &amp;</paramtype><description><para>UnaryFunction which is invoked with each accumulator in turn. </para></description></parameter><description><para>Visitation 
</para></description></method>
<method name="visit_if"><type>void</type><template>
          <template-type-parameter name="FilterPred"/>
          <template-type-parameter name="UnaryFunction"/>
        </template><parameter name="func"><paramtype>UnaryFunction const &amp;</paramtype><description><para>UnaryFunction which is invoked with each accumulator in turn, provided the accumulator satisfies the MPL predicate FilterPred. </para></description></parameter><description><para>Conditional visitation 
</para></description></method>
<method name="operator()"><type>void</type><description><para>Accumulation 
</para></description></method>
<method name="operator()"><type>void</type><template>
          <template-type-parameter name="A1"/>
        </template><parameter name="a1"><paramtype>A1 const &amp;</paramtype></parameter></method>
<method name="extract"><type><classname>apply</classname>&lt; Feature &gt;::type &amp;</type><template>
          <template-type-parameter name="Feature"/>
        </template><purpose>Extraction. </purpose></method>
<method name="extract" cv="const"><type><classname>apply</classname>&lt; Feature &gt;::type const  &amp;</type><template>
          <template-type-parameter name="Feature"/>
        </template><description><para>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </para></description></method>
<method name="drop"><type>void</type><template>
          <template-type-parameter name="Feature"/>
        </template><purpose>Drop. </purpose></method>
</method-group>
<constructor specifiers="explicit"><template>
          <template-type-parameter name="A1"/>
        </template><parameter name="a1"><paramtype>A1 const &amp;</paramtype><description><para>Optional named parameter to be passed to all the accumulators </para></description></parameter><description><para>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</para><para>
</para></description></constructor>
</struct><struct name="as_feature"><template>
      <template-type-parameter name="Feature"/>
    </template></struct><struct name="as_weighted_feature"><template>
      <template-type-parameter name="Feature"/>
    </template></struct><struct name="depends_on"><template>
      <template-type-parameter name="Feature1"/>
      <template-type-parameter name="Feature2"/>
      <template-nontype-parameter name=""><type>...</type></template-nontype-parameter>
    </template><purpose><classname alt="boost::accumulators::depends_on">depends_on</classname> </purpose></struct><struct name="droppable_accumulator"><template>
      <template-type-parameter name="Accumulator"/>
    </template><inherit access="public">boost::accumulators::droppable_accumulator_base&lt; Accumulator &gt;</inherit><method-group name="public member functions">
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<constructor><parameter name="that"><paramtype><classname>droppable_accumulator</classname> const &amp;</paramtype></parameter></constructor>
</struct><struct name="droppable_accumulator_base"><template>
      <template-type-parameter name="Accumulator"/>
    </template><inherit access="public">Accumulator</inherit><method-group name="public member functions">
<method name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method name="add_ref"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name=""><paramtype>Args const &amp;</paramtype></parameter></method>
<method name="drop"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method name="is_dropped" cv="const"><type>bool</type></method>
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<constructor><parameter name="that"><paramtype><classname>droppable_accumulator_base</classname> const &amp;</paramtype></parameter></constructor>
</struct><struct name="extractor"><template>
      <template-type-parameter name="Feature"/>
    </template><purpose>Extracts the result associated with Feature from the specified <classname alt="boost::accumulators::accumulator_set">accumulator_set</classname>. </purpose><method-group name="public member functions">
<method name="operator()" cv="const"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="Arg1"/>
        </template><parameter name="arg1"><paramtype>Arg1 const &amp;</paramtype></parameter><description><para>Extract the result associated with Feature from the accumulator set 
</para></description></method>
<method name="operator()" cv="const"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="AccumulatorSet"/>
          <template-type-parameter name="A1"/>
        </template><parameter name="acc"><paramtype>AccumulatorSet const &amp;</paramtype></parameter><parameter name="a1"><paramtype>A1 const &amp;</paramtype><description><para>Optional named parameter to be passed to the accumulator's result() function. </para></description></parameter><description><para>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</para><para>
</para></description></method>
<method name="operator()"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="AccumulatorSet"/>
          <template-type-parameter name="A1"/>
          <template-type-parameter name="A2"/>
          <template-nontype-parameter name=""><type>...</type></template-nontype-parameter>
        </template><parameter name="acc"><paramtype>AccumulatorSet const &amp;</paramtype></parameter><parameter name="a1"><paramtype>A1 const &amp;</paramtype></parameter><parameter name="a2"><paramtype>A2 const &amp;</paramtype></parameter><parameter name=""><paramtype>...</paramtype></parameter><description><para>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </para></description></method>
</method-group>
</struct><struct name="feature_of"><template>
      <template-type-parameter name="Feature"/>
    </template></struct><struct name="features"><template>
      <template-type-parameter name="Feature1"/>
      <template-type-parameter name="Feature2"/>
      <template-nontype-parameter name=""><type>...</type></template-nontype-parameter>
    </template><inherit access="public">mpl::vector&lt; Feature1, Feature2,... &gt;</inherit></struct><struct name="with_cached_result"><template>
      <template-type-parameter name="Accumulator"/>
    </template><inherit access="public">Accumulator</inherit><method-group name="public member functions">
<method name="on_drop"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<constructor><parameter name="that"><paramtype><classname>with_cached_result</classname> const &amp;</paramtype></parameter></constructor>
<destructor/>
<method-group name="private member functions">
<method name="set"><type>void</type><parameter name="r"><paramtype>result_type const &amp;</paramtype></parameter></method>
<method name="get" cv="const"><type>result_type const  &amp;</type></method>
<method name="has_result" cv="const"><type>bool</type></method>
</method-group>
<copy-assignment><type><classname>with_cached_result</classname> &amp;</type><parameter name=""><paramtype><classname>with_cached_result</classname> const &amp;</paramtype></parameter></copy-assignment>
</struct><namespace name="impl">
</namespace>
<namespace name="tag">
<struct name="droppable"><template>
      <template-type-parameter name="Feature"/>
    </template><inherit access="public">as_feature::type&lt; Feature &gt;</inherit></struct><struct name="external"><template>
      <template-type-parameter name="Feature"/>
      <template-type-parameter name="Tag"/>
      <template-type-parameter name="AccumulatorSet"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; reference&lt; AccumulatorSet, Tag &gt; &gt;</inherit></struct><struct name="reference"><template>
      <template-type-parameter name="Referent"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct name="reference_tag"><template>
      <template-type-parameter name="Tag"/>
    </template></struct><struct name="value"><template>
      <template-type-parameter name="ValueType"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct name="value_tag"><template>
      <template-type-parameter name="Tag"/>
    </template></struct></namespace>

<function name="extract_result"><type>mpl::apply&lt; AccumulatorSet, Feature &gt;::type::result_type</type><template>
          <template-type-parameter name="Feature"/>
          <template-type-parameter name="AccumulatorSet"/>
        </template><parameter name="acc"><paramtype>AccumulatorSet const &amp;</paramtype></parameter></function>
<function name="extract_result"><type>mpl::apply&lt; AccumulatorSet, Feature &gt;::type::result_type</type><template>
          <template-type-parameter name="Feature"/>
          <template-type-parameter name="AccumulatorSet"/>
          <template-type-parameter name="A1"/>
        </template><parameter name="acc"><paramtype>AccumulatorSet const &amp;</paramtype></parameter><parameter name="a1"><paramtype>A1 const &amp;</paramtype></parameter></function>

</namespace>
</namespace>
<macro name="BOOST_ACCUMULATORS_MAX_FEATURES"><description><para>The maximum number of accumulators that may be put in an accumulator_set. Defaults to BOOST_MPL_LIMIT_VECTOR_SIZE (which defaults to 20). </para></description></macro>
<macro name="BOOST_ACCUMULATORS_MAX_ARGS"><description><para>The maximum number of arguments that may be specified to an accumulator_set's accumulation function. Defaults to 15. </para></description></macro>
<macro name="BOOST_ACCUMULATORS_PROTO_DISABLE_IF_IS_CONST" kind="functionlike"><macro-parameter name="T"/></macro>
<macro name="BOOST_ACCUMULATORS_GCC_VERSION"/>
<macro name="BOOST_ACCUMULATORS_IGNORE_GLOBAL" kind="functionlike"><macro-parameter name="X"/></macro>
<macro name="BOOST_PARAMETER_NESTED_KEYWORD" kind="functionlike"><macro-parameter name="tag_namespace"/><macro-parameter name="name"/><macro-parameter name="alias"/></macro>
</header>
<header name="boost/accumulators/framework/accumulator_base.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct name="accumulator_base"><typedef name="is_droppable"><type>mpl::false_</type></typedef>
<method-group name="public member functions">
<method name="operator()"><type><emphasis>unspecified</emphasis></type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
<method name="add_ref"><type><emphasis>unspecified</emphasis></type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
<method name="drop"><type><emphasis>unspecified</emphasis></type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
<method name="on_drop"><type><emphasis>unspecified</emphasis></type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
</method-group>
</struct><struct name="dont_care"><method-group name="public member functions">
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name=""><paramtype>Args const &amp;</paramtype></parameter></constructor>
</struct>



</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulator_concept.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct name="accumulator_concept"><template>
      <template-type-parameter name="Stat"/>
    </template><data-member name="stat"><type>Stat</type></data-member>
<method-group name="public member functions">
<method name="constraints"><type>void</type></method>
</method-group>
</struct>



</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulator_set.hpp">
<namespace name="boost">
<namespace name="accumulators">



<function name="find_accumulator"><type>mpl::apply&lt; AccumulatorSet, Feature &gt;::type &amp;</type><template>
          <template-type-parameter name="Feature"/>
          <template-type-parameter name="AccumulatorSet"/>
        </template><parameter name="BOOST_ACCUMULATORS_PROTO_DISABLE_IF_IS_CONST"><paramtype>AccumulatorSet &amp;acc </paramtype></parameter></function>
</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulators/droppable_accumulator.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization name="as_feature"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>tag::droppable&lt; Feature &gt;</template-arg></specialization><typedef name="type"><type><classname>tag::droppable</classname>&lt; typename <classname>as_feature</classname>&lt; Feature &gt;::type &gt;</type></typedef>
</struct-specialization><struct-specialization name="as_weighted_feature"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>tag::droppable&lt; Feature &gt;</template-arg></specialization><typedef name="type"><type><classname>tag::droppable</classname>&lt; typename <classname>as_weighted_feature</classname>&lt; Feature &gt;::type &gt;</type></typedef>
</struct-specialization><struct-specialization name="feature_of"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>tag::droppable&lt; Feature &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; Feature &gt;</inherit></struct-specialization><namespace name="tag">
<struct name="as_droppable"><template>
      <template-type-parameter name="Feature"/>
    </template><typedef name="type"><type><classname>droppable</classname>&lt; Feature &gt;</type></typedef>
</struct><struct-specialization name="as_droppable"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>droppable&lt; Feature &gt;</template-arg></specialization><typedef name="type"><type><classname>droppable</classname>&lt; Feature &gt;</type></typedef>
</struct-specialization></namespace>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulators/external_accumulator.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization name="feature_of"><template>
      <template-type-parameter name="Feature"/>
      <template-type-parameter name="Tag"/>
      <template-type-parameter name="AccumulatorSet"/>
    </template><specialization><template-arg>tag::external&lt; Feature</template-arg><template-arg>Tag</template-arg><template-arg>AccumulatorSet &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; Feature &gt;</inherit></struct-specialization><namespace name="impl">
</namespace>
<namespace name="tag">
<struct-specialization name="external"><template>
      <template-type-parameter name="Feature"/>
      <template-type-parameter name="Tag"/>
    </template><specialization><template-arg>Feature</template-arg><template-arg>Tag</template-arg><template-arg>void</template-arg></specialization><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><typedef name="impl"><type><emphasis>unspecified</emphasis></type></typedef>
</struct-specialization></namespace>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulators/reference_accumulator.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization name="feature_of"><template>
      <template-type-parameter name="ValueType"/>
      <template-type-parameter name="Tag"/>
    </template><specialization><template-arg>tag::reference&lt; ValueType</template-arg><template-arg>Tag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::reference_tag&lt; Tag &gt; &gt;</inherit></struct-specialization><namespace name="extract">
</namespace>
<namespace name="impl">
<struct name="reference_accumulator_impl"><template>
      <template-type-parameter name="Referent"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">boost::accumulators::accumulator_base</inherit><typedef name="result_type"><type>Referent &amp;</type></typedef>
<method-group name="public member functions">
<method name="result" cv="const"><type>result_type</type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
</struct></namespace>
<namespace name="tag">
</namespace>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/accumulators/value_accumulator.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization name="feature_of"><template>
      <template-type-parameter name="ValueType"/>
      <template-type-parameter name="Tag"/>
    </template><specialization><template-arg>tag::value&lt; ValueType</template-arg><template-arg>Tag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::value_tag&lt; Tag &gt; &gt;</inherit></struct-specialization><namespace name="extract">
</namespace>
<namespace name="impl">
<struct name="value_accumulator_impl"><template>
      <template-type-parameter name="ValueType"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">boost::accumulators::accumulator_base</inherit><typedef name="result_type"><type>ValueType</type></typedef>
<method-group name="public member functions">
<method name="result" cv="const"><type>result_type</type><parameter name=""><paramtype><classname>dont_care</classname></paramtype></parameter></method>
</method-group>
<constructor><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
</struct></namespace>
<namespace name="tag">
</namespace>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/depends_on.hpp">
<namespace name="boost">
<namespace name="accumulators">




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/external.hpp">
</header>
<header name="boost/accumulators/framework/extractor.hpp">
<namespace name="boost">
<namespace name="accumulators">




</namespace>
</namespace>
<macro name="BOOST_ACCUMULATORS_DEFINE_EXTRACTOR" kind="functionlike"><macro-parameter name="Tag"/><macro-parameter name="Feature"/><macro-parameter name="ParamSeq"/></macro>
</header>
<header name="boost/accumulators/framework/features.hpp">
<namespace name="boost">
<namespace name="accumulators">




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/parameters/accumulator.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="tag">
<struct name="accumulator"/></namespace>
<data-member name="accumulator"><type>boost::parameter::keyword&lt; tag ::accumulator &gt; const</type></data-member>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/parameters/sample.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="tag">
<struct name="sample"/></namespace>
<data-member name="sample"><type>boost::parameter::keyword&lt; tag ::sample &gt; const</type></data-member>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/parameters/weight.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="tag">
<struct name="weight"/></namespace>
<data-member name="weight"><type>boost::parameter::keyword&lt; tag ::weight &gt; const</type></data-member>




</namespace>
</namespace>
</header>
<header name="boost/accumulators/framework/parameters/weights.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="tag">
<struct name="weights"/></namespace>
<data-member name="weights"><type>boost::parameter::keyword&lt; tag ::weights &gt; const</type></data-member>




</namespace>
</namespace>
</header>
</library-reference>