@@ -6,30 +6,30 @@ mediated via RrGraphBase located in `rr_graph_uxsdcxx_interface.h`.
6
6
7
7
If ` rr_graph.xsd ` is modified, then the following files must be updated:
8
8
9
- - ` libs/librrgraph/src/base /gen/rr_graph_uxsdcxx.h `
10
- - ` libs/librrgraph/src/base /gen/rr_graph_uxsdcxx_capnp.h `
11
- - ` libs/librrgraph/src/base /gen/rr_graph_uxsdcxx_interface.h `
9
+ - ` libs/librrgraph/src/io /gen/rr_graph_uxsdcxx.h `
10
+ - ` libs/librrgraph/src/io /gen/rr_graph_uxsdcxx_capnp.h `
11
+ - ` libs/librrgraph/src/io /gen/rr_graph_uxsdcxx_interface.h `
12
12
- ` libs/libvtrcapnproto/rr_graph_uxsdcxx.capnp `
13
13
14
14
### Instructions to update generated files (using CMake)
15
15
16
16
1 . Run target ` generate_rr_graph_serializers ` , e.g. run ` make generate_rr_graph_serializers ` .
17
17
2 . Run target ` format ` , e.g. run ` make format ` .
18
- 3 . Update ` libs/librrgraph/src/base /rr_graph_uxsdcxx_interface_impl.h ` , implement or
18
+ 3 . Update ` libs/librrgraph/src/io /rr_graph_uxsdcxx_interface_impl.h ` , implement or
19
19
update interfaces that are new or are changed. The compiler will complain
20
20
that virtual methods are missing if the schema has changed.
21
21
22
22
### Instructions to update generated files (manually)
23
23
24
24
1 . Clone https://github.com/duck2/uxsdcxx/
25
25
2 . Run ` python3 -mpip install --user -r requirements.txt `
26
- 3 . Run ` python3 uxsdcxx.py libs/librrgraph/src/base /rr_graph.xsd `
27
- 3 . Run ` python3 uxsdcap.py libs/librrgraph/src/base /rr_graph.xsd `
26
+ 3 . Run ` python3 uxsdcxx.py libs/librrgraph/src/io /rr_graph.xsd `
27
+ 3 . Run ` python3 uxsdcap.py libs/librrgraph/src/io /rr_graph.xsd `
28
28
4 . Copy ` rr_graph_uxsdcxx.h ` , ` rr_graph_uxsdcxx_capnp.h ` ,
29
- ` rr_graph_uxsdcxx_interface.h ` to ` libs/librrgraph/src/base / `
29
+ ` rr_graph_uxsdcxx_interface.h ` to ` libs/librrgraph/src/io / `
30
30
5 . Copy ` rr_graph_uxsdcxx.capnp ` to ` ../libvtrcapnproto/ `
31
31
6 . Run ` make format `
32
- 7 . Update ` libs/librrgraph/src/base /rr_graph_uxsdcxx_interface_impl.h ` , implement or
32
+ 7 . Update ` libs/librrgraph/src/io /rr_graph_uxsdcxx_interface_impl.h ` , implement or
33
33
update interfaces that are new or are changed. The compiler will complain
34
34
that virtual methods are missing if the schema has changed.
35
35
0 commit comments