File tree 2 files changed +9
-0
lines changed
docs/fastdds/xml_configuration
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4358
4358
</struct >
4359
4359
<!-- ><-->
4360
4360
<struct name =" MembersExample" >
4361
+ <!-- >XML-MEMBER_WITH_KEY<-->
4362
+ <member name =" my_long" type =" int32" key =" true" />
4363
+ <!-- ><-->
4361
4364
<!-- >XML-BOUNDEDSTRINGS<-->
4362
4365
<member name =" my_large_string" type =" string" stringMaxLength =" 41925" />
4363
4366
<member name =" my_large_wstring" type =" wstring" stringMaxLength =" 20925" />
Original file line number Diff line number Diff line change @@ -60,6 +60,12 @@ Member types
60
60
Member types are defined as any type that can belong to a `Struct `_ or a `Union `_, or be aliased by a
61
61
`Typedef `_.
62
62
These can be defined by the ``<member> `` XML tag.
63
+ A member can be annotated as ``key `` (equivalent of the IDL's ``@key ``) by setting the ``key `` attribute to ``"true" ``.
64
+
65
+ .. literalinclude :: /../code/XMLTester.xml
66
+ :language: xml
67
+ :start-after: <!-->XML-MEMBER_WITH_KEY<-->
68
+ :end-before: <!--><-->
63
69
64
70
Primitive types
65
71
***************
You can’t perform that action at this time.
0 commit comments