blob: b02a023c01f29f17d5ae047235e7e3f3ea8250bf (
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
|
This example shows how to create, access, and modify object models with
complex nested choice and sequence compositors in the Embedded C++/Hybrid
mapping.
For more information about nested compositors see Section 4.4, "Compositors"
in the Embedded C++/Hybrid Mapping Getting Started Guide.
The example consists of the following files:
compositors.xsd
XML Schema which defines a number of types with nested compositors.
compositors.hxx
compositors.cxx
Object model classes. These are generated by the XSD/e compiler from
compositors.xsd.
driver.cxx
Driver for the example. It shows how to create, access, and modify object
models that use nested choice and sequence compositors. The driver does
not produce any output.
To run the example simply execute:
$ ./driver
|