Skip to content

Commit 4ae47c6

Browse files
committed
Add examples of XML files with user-defined types.
1 parent 85e2dbe commit 4ae47c6

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

examples/cpp.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<GraphicalDebugging>
3+
4+
<Point Id="MyPoint">
5+
<Coordinates>
6+
<X>x</X>
7+
<Y>y</Y>
8+
</Coordinates>
9+
</Point>
10+
11+
<Point Id="tagPOINT">
12+
<Coordinates>
13+
<X>x</X>
14+
<Y>y</Y>
15+
</Coordinates>
16+
</Point>
17+
18+
<Point Id="boost::qvm::vec">
19+
<Coordinates>
20+
<X>a[0]</X>
21+
<Y>a[1]</Y>
22+
</Coordinates>
23+
</Point>
24+
25+
</GraphicalDebugging>

examples/cs.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<GraphicalDebugging>
3+
4+
<Point Id="WpfApplication1.MainWindow.MyPoint">
5+
<Coordinates>
6+
<X>x</X>
7+
<Y>y</Y>
8+
</Coordinates>
9+
</Point>
10+
11+
<Point Id="System.Windows.Point">
12+
<Coordinates>
13+
<X>_x</X>
14+
<Y>_y</Y>
15+
</Coordinates>
16+
</Point>
17+
18+
<Point Id="System.Drawing.Point">
19+
<Coordinates>
20+
<X>x</X>
21+
<Y>y</Y>
22+
</Coordinates>
23+
</Point>
24+
25+
</GraphicalDebugging>

0 commit comments

Comments
 (0)