Download User`s Manual - Community RTI Connext Users
Transcript
Chapter 3
Table 3.9
Mapping Type System Constructs to XSD
Type/Construct
IDL
key
directivec
XSD
Example
IDL
XSD
<xsd:complexType name="KeyedPrimitiveStruct">
<!-- @key
<xsd:sequence>
<true|false|1|0> struct
<xsd:element name="long_member"
-->
minOccurs="1" maxOccurs="1"
KeyedPrimitiveStruct {
type="xsd:int"/>
long long_member; //@key
<!-- @key true -->
Default (if not speci- };
</xsd:sequence>
fied): false
</xsd:complexType>
struct
UnresolvedPrimitiveStruct
{
PrimitiveStruct
primitive_member;
Default (if not speci//@resolve-name false
fied): true
};
<xsd:complexType name=
"UnresolvedPrimitiveStruct">
<xsd:sequence>
<xsd:element name="primitive_member"
minOccurs="1" maxOccurs="1"
type="PrimitiveStruct"/>
<!-- @resolveName false -->
</xsd:sequence>
</xsd:complexType>
top-level
directivec
<!-- @topLevel
struct
<true|false|1|0> -->
TopLevelPrimitiveStruct {
short short_member;
Default (if not speci}; //@top-level false
fied): true
<xsd:complexType
name="TopLevelPrimitiveStruct">
<xsd:sequence>
<xsd:element name="short_member"
minOccurs="1" maxOccurs="1"
type="xsd:short"/>
</xsd:sequence>
</xsd:complexType>
<!-- @topLevel false -->
other
directivesc
<!-@<directive kind>
<value>
-->
<!--@copy This text will be copied in the
generated files -->
resolvename
directivec
<!-- @resolveName
<true|false|1|0>
-->
3-96
//@copy This text will be
copied in the generated
files
Related documents
User`s Manual - Community RTI Connext Users
RTI Data Distribution Service User`s Manual
Core Libraries and Utilities User`s Manual
User`s Manual - Community RTI Connext Users
Release Notes - Community RTI Connext Users
Getting Started Guide - Community RTI Connext Users
User Manual - eProsima Middleware Experts
XML-Based Application Creation Getting Started Guide
RTI Data Distribution Service
User`s Manual - Community RTI Connext Users
to the User Guide for Grey Flow 01
RTI Data Distribution Service—Comprehensive Summary of QoS