-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathTinyXML2.natvis
42 lines (42 loc) · 1.45 KB
/
TinyXML2.natvis
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version='1.0' encoding='utf-8'?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="tinyxml2::StrPair">
<DisplayString>{start, [end-start]s}</DisplayString>
<StringView>start, [end-start]s</StringView>
</Type>
<Type Name="tinyxml2::XMLNode">
<DisplayString>{value}</DisplayString>
<StringView>value</StringView>
<Expand>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinyxml2::XMLElement">
<DisplayString Condition="closingType==1">[CLOSED] {value}</DisplayString>
<DisplayString Condition="closingType==2">[CLOSING] {value}</DisplayString>
<DisplayString>[OPEN] {value}</DisplayString>
<StringView>value</StringView>
<Expand>
<Item Name="attributes">rootAttribute</Item>
<LinkedListItems>
<HeadPointer>firstChild</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinyxml2::XMLAttribute">
<DisplayString>{name} = {value}</DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>this</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
</AutoVisualizer>