-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
sample_header_documentation.expected.h
432 lines (376 loc) · 16.9 KB
/
sample_header_documentation.expected.h
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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
#pragma once
// <GENERIC MARKER SCRUBBED FOR REVIEWABLE>
// This file contains docstrings for the Python bindings that were
// automatically extracted by mkdoc.py.
#if defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
// #include "drake/tools/workspace/pybind11/test/sample_header.h"
// Symbol: sample_header_doc
constexpr struct /* sample_header_doc */ {
// Symbol: RootLevelSymbol
struct /* RootLevelSymbol */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:31
const char* doc =
R"""(Root-level symbol. Magna fermentum iaculis eu non diam phasellus
vestibulum.)""";
} RootLevelSymbol;
// Symbol: drake
struct /* drake */ {
// Symbol: drake::MidLevelSymbol
struct /* MidLevelSymbol */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:73
const char* doc =
R"""(Mid-level symbol. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
1. Begin first ordered list element. Rutrum quisque non tellus orci ac
auctor. End first ordered list element.
2. Begin second ordered list element. Ipsum faucibus vitae aliquet nec.
Ligula ullamcorper malesuada proin libero. End second ordered list
element.
3. Begin third ordered list element. Dictum sit amet justo donec enim.
Pharetra convallis posuere morbi leo urna molestie. End third ordered
list element.
Senectus et netus et malesuada fames ac. Tincidunt lobortis feugiat
vivamus at augue eget arcu dictum varius.
First level heading
===================
Cursus in hac habitasse platea dictumst quisque sagittis purus sit. Et
malesuada fames ac turpis.
Second level heading
--------------------
Adipiscing diam donec adipiscing tristique risus nec feugiat.
Condimentum vitae sapien pellentesque habitant.
**Third level heading**
Fermentum odio eu feugiat pretium nibh. Sed nisi lacus sed viverra. Ut
ornare lectus sit amet est.
Version:
1.0.)""";
} MidLevelSymbol;
// Symbol: drake::mkdoc_test
struct /* mkdoc_test */ {
// Symbol: drake::mkdoc_test::AnonymousConstant
struct /* AnonymousConstant */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:367
const char* doc = R"""(Anonymous enum's constant.)""";
} AnonymousConstant;
// Symbol: drake::mkdoc_test::Class
struct /* Class */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:128
const char* doc =
R"""(Class. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
* Begin first unordered list element. Volutpat blandit aliquam etiam erat
velit scelerisque. End first unordered list element.
* Begin second unordered list element. Eget est lorem ipsum dolor sit amet.
Ipsum dolor sit amet consectetur adipiscing. End second unordered list
element.
* Begin third unordered list element. Hac habitasse platea dictumst quisque
sagittis purus sit. End third unordered list element.
Quisque sagittis purus sit amet volutpat.
First level heading
===================
Aliquet nec ullamcorper sit amet risus nullam eget felis. **Bold**.
Hac habitasse platea dictumst quisque sagittis purus sit.
Second level heading
--------------------
Donec massa sapien faucibus et molestie ac feugiat sed lectus.
*Italics*. Amet justo donec enim diam vulputate ut pharetra sit.
**Third level heading**
Orci eu lobortis elementum nibh. ``Typewriter``. Luctus venenatis
lectus magna fringilla urna porttitor rhoncus dolor.
*Fourth level heading*
Orci eu lobortis elementum nibh. Luctus venenatis lectus magna
fringilla urna porttitor rhoncus dolor.
Tortor id aliquet lectus proin nibh. `Link <https://example.org>`_.
Cras semper auctor neque vitae tempus quam pellentesque nec.
See also:
Struct)""";
// Symbol: drake::mkdoc_test::Class::Class
struct /* ctor */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:151
const char* doc_0args = R"""(Custom constructor 1.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:164
const char* doc_1args =
R"""(Custom constructor 2. *Italics*. Ut tristique et egestas quis ipsum
suspendisse ultrices gravida. ``Typewriter``. Suscipit tellus mauris a
diam. Maecenas accumsan lacus vel facilisis volutpat est.
Parameter ``param``:
Begin parameter. Dignissim diam quis enim lobortis scelerisque
fermentum dui faucibus. End parameter.
Ut consequat semper viverra nam libero.
::
Class class();
class.PublicMethod();)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:177
const char* doc_2args =
R"""(Custom constructor 3. *Italics*. Integer quis auctor elit sed
vulputate mi sit.
Parameter ``param1``:
Begin first input parameter. Mollis nunc sed id semper risus in
hendrerit gravida rutrum. End first input parameter.
Parameter ``param2``:
Begin second input parameter. Tristique senectus et netus et
malesuada fames ac turpis. End second input parameter.)""";
} ctor;
// Symbol: drake::mkdoc_test::Class::Nested
struct /* Nested */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:262
const char* doc =
R"""(Protected nested class. *Italics*. Sed turpis tincidunt id aliquet.
Egestas sed sed risus pretium.
Bug report:
Begin bug report. Cras pulvinar mattis nunc sed blandit libero.
Eget est lorem ipsum dolor sit amet consectetur. End bug report.
Test case:
Begin test case. Sem integer vitae justo eget magna fermentum.
Convallis posuere morbi leo urna molestie at elementum eu
facilisis. End test case.)""";
} Nested;
// Symbol: drake::mkdoc_test::Class::ProtectedMethod
struct /* ProtectedMethod */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:251
const char* doc =
R"""(Protected method. **Bold**. Nibh sed pulvinar proin gravida hendrerit.
Orci phasellus egestas tellus rutrum tellus pellentesque eu.
Returns:
Begin returns. Faucibus interdum posuere lorem ipsum dolor.
Malesuada proin libero nunc consequat interdum varius sit amet.
End returns.)""";
} ProtectedMethod;
// Symbol: drake::mkdoc_test::Class::PublicMethod
struct /* PublicMethod */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:192
const char* doc =
R"""(Public method. :math:`A = \pi r^2`. Condimentum id venenatis a
condimentum vitae sapien pellentesque habitant morbi.)""";
} PublicMethod;
// Symbol: drake::mkdoc_test::Class::PublicStatic
struct /* PublicStatic */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:215
const char* doc =
R"""(Static method. ``Typewriter``. Sed faucibus turpis in eu mi bibendum
neque egestas.
Vitae sapien pellentesque habitant morbi tristique senectus. Iaculis
eu non diam phasellus vestibulum.
Invariant:
Begin invariant. Odio euismod lacinia at quis risus sed vulputate
odio. End invariant.
Precondition:
Begin precondition. Cras fermentum odio eu feugiat pretium nibh.
Ornare suspendisse sed nisi lacus sed viverra tellus. End
precondition.
Postcondition:
Begin postcondition. Tortor id aliquet lectus proin nibh nisl
condimentum id. End postcondition.)""";
} PublicStatic;
// Symbol: drake::mkdoc_test::Class::PublicTemplateMethod
struct /* PublicTemplateMethod */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:202
const char* doc =
R"""(Public template method.
.. math:: a^2 + b^2 = c^2.
Sagittis id consectetur purus ut faucibus pulvinar.
Template parameter ``T``:
Begin template parameter. acilisi etiam dignissim diam quis. Ut
pharetra sit amet aliquam. End template parameter.)""";
} PublicTemplateMethod;
// Symbol: drake::mkdoc_test::Class::TypedefAlias
struct /* TypedefAlias */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:143
const char* doc =
R"""(Typedef alias. **Bold**. Risus nec feugiat in fermentum posuere urna
nec tincidunt praesent.)""";
} TypedefAlias;
// Symbol: drake::mkdoc_test::Class::UsingAlias
struct /* UsingAlias */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:138
const char* doc =
R"""(Using alias. *Italics*. Sit amet nisl purus in mollis nunc sed id
semper.)""";
} UsingAlias;
// Symbol: drake::mkdoc_test::Class::get_foo
struct /* get_foo */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:239
const char* doc_0args_nonconst = R"""(Overloaded only by its const-ness.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:242
const char* doc_0args_const = R"""(The const one.)""";
} get_foo;
// Symbol: drake::mkdoc_test::Class::overloaded_method
struct /* overloaded_method */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:218
const char* doc_1args_alpha = R"""(This one takes an int.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:221
const char* doc_1args_bravo = R"""(This one takes a double.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:224
const char* doc_2args_charlie_delta = R"""(This one takes an int and a double.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:227
const char* doc_2args_double_int = R"""(This one takes the road less traveled.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:230
const char* doc_1args_conststdstring = R"""(This one takes a non-primitive type.)""";
} overloaded_method;
// Symbol: drake::mkdoc_test::Class::overloaded_with_same_doc
struct /* overloaded_with_same_doc */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:233
const char* doc = R"""(Different overload with same doc.)""";
} overloaded_with_same_doc;
// Symbol: drake::mkdoc_test::Class::protected_member_
struct /* protected_member_ */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:268
const char* doc =
R"""(Protected member. ``Typewriter``. Porttitor eget dolor morbi non arcu
risus quis varius quam.)""";
} protected_member_;
} Class;
// Symbol: drake::mkdoc_test::DrakeDeprecatedClass
struct /* DrakeDeprecatedClass */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:372
const char* doc_deprecated =
R"""(I am measurably old. (Deprecated.)
Deprecated:
Use MyNewClass instead. This will be removed from Drake on or
after 2038-01-19.)""";
// Symbol: drake::mkdoc_test::DrakeDeprecatedClass::a
struct /* a */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:385
const char* doc_deprecated =
R"""((Deprecated.)
Deprecated:
a() is slow; use b() instead. This will be removed from Drake on
or after 2038-01-19.)""";
} a;
// Symbol: drake::mkdoc_test::DrakeDeprecatedClass::f
struct /* f */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:377
const char* doc_deprecated_1args =
R"""((Deprecated.)
Deprecated:
f() is slow; use g() instead. Also, I like hats. This will be
removed from Drake on or after 2038-01-19.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:381
const char* doc_deprecated_0args =
R"""((Deprecated.)
Deprecated:
f() now requires an int. This will be removed from Drake on or
after 2038-01-19.)""";
} f;
} DrakeDeprecatedClass;
// Symbol: drake::mkdoc_test::DrakeDeprecatedTemplateClass
struct /* DrakeDeprecatedTemplateClass */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:391
const char* doc_deprecated =
R"""(I am symbolically old. (Deprecated.)
Deprecated:
Templates rule! This will be removed from Drake on or after
2038-01-19.)""";
} DrakeDeprecatedTemplateClass;
// Symbol: drake::mkdoc_test::Enum
struct /* Enum */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:351
const char* doc =
R"""(Enumeration. Feugiat scelerisque varius morbi enim. Facilisis leo vel
fringilla est ullamcorper eget nulla facilisi.)""";
// Symbol: drake::mkdoc_test::Enum::EnumConstant
struct /* EnumConstant */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:353
const char* doc = R"""(Enumeration constant.)""";
} EnumConstant;
} Enum;
// Symbol: drake::mkdoc_test::EnumClass
struct /* EnumClass */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:358
const char* doc =
R"""(Enumeration class. Malesuada fames ac turpis egestas integer eget
aliquet nibh praesent.)""";
// Symbol: drake::mkdoc_test::EnumClass::EnumClassConstant
struct /* EnumClassConstant */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:361
const char* doc =
R"""(Enumeration class constant. Vestibulum mattis ullamcorper velit sed
ullamcorper.)""";
} EnumClassConstant;
} EnumClass;
// Symbol: drake::mkdoc_test::Struct
struct /* Struct */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:287
const char* doc_deprecated =
R"""(Struct. Sed elementum tempus egestas sed sed risus pretium. Vel
pharetra vel turpis nunc.
Deprecated:
Begin deprecated. Est pellentesque elit ullamcorper dignissim cras
tincidunt lobortis. End deprecated.
See also:
Class)""";
// Symbol: drake::mkdoc_test::Struct::field_1
struct /* field_1 */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:293
const char* doc =
R"""(Field 1. Sit amet cursus sit amet dictum sit amet. Id leo in vitae
turpis massa sed elementum tempus.
Attention:
Begin attention. Ultricies lacus sed turpis tincidunt id aliquet
risus feugiat. End attention.)""";
} field_1;
// Symbol: drake::mkdoc_test::Struct::field_2
struct /* field_2 */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:298
const char* doc =
R"""(Field 2. Consectetur libero id faucibus nisl tincidunt eget nullam non
nisi.
Note:
Begin note. Consectetur a erat nam at lectus. Consequat ac felis
donec et odio pellentesque diam. End note.)""";
} field_2;
} Struct;
// Symbol: drake::mkdoc_test::TemplateClass
struct /* TemplateClass */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:307
const char* doc_was_unable_to_choose_unambiguous_names =
R"""(Template class. Mauris pharetra et ultrices neque ornare aenean
euismod elementum.
Template parameter ``T``:
Begin template parameter. Feugiat scelerisque varius morbi enim
nunc faucibus a. End template parameter.)""";
// Symbol: drake::mkdoc_test::TemplateClass::TemplateClass<T>
struct /* ctor */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:315
const char* doc_0args =
R"""(Default constructor. Condimentum mattis pellentesque id nibh tortor
id. Nisl rhoncus mattis rhoncus urna neque.
Remark:
Begin remarks. Ante metus dictum at tempor commodo. Nec feugiat in
fermentum posuere urna nec. End remarks.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:318
const char* doc_1args = R"""(Single argument int constructor.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:322
const char* doc_copyconvert = R"""(Scalar-converting copy constructor.)""";
} ctor;
} TemplateClass;
// Symbol: drake::mkdoc_test::func
struct /* func */ {
// Source: drake/tools/workspace/pybind11/test/sample_header.h:81
const char* doc_0args =
R"""(Function. Mi sit amet mauris commodo quis.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:87
const char* doc_1args_param =
R"""(Function, overload 1. Velit ut tortor pretium viverra suspendisse
potenti nullam ac tortor.
Raises:
RuntimeError Begin raises. Morbi tincidunt augue interdum velit
euismod. Justo nec ultrices dui sapien eget mi proin sed libero.
End raises.)""";
// Source: drake/tools/workspace/pybind11/test/sample_header.h:93
const char* doc_1args_T =
R"""(Function, template overload. Pellentesque diam volutpat commodo sed
egestas egestas fringilla phasellus faucibus.
Parameter ``param``:
Begin input/output parameter. Morbi enim nunc faucibus a
pellentesque sit. End input/output parameter.)""";
} func;
} mkdoc_test;
} drake;
} sample_header_doc;
#if defined(__GNUG__)
#pragma GCC diagnostic pop
#endif