forked from bkaradzic/bx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtinystl.natvis
72 lines (67 loc) · 2.15 KB
/
tinystl.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="tinystl::buffer<*,*>">
<DisplayString>{{ size={last - first} }}</DisplayString>
<Expand>
<Item Name="[size]">last - first</Item>
<Item Name="[capacity]">capacity - first</Item>
<ArrayItems>
<Size>last - first</Size>
<ValuePointer>first</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="tinystl::vector<*,*>">
<DisplayString>{{ size={m_buffer.last - m_buffer.first} }}</DisplayString>
<Expand>
<ExpandedItem>m_buffer</ExpandedItem>
</Expand>
</Type>
<Type Name="tinystl::unordered_set<*,*>">
<DisplayString>{{ size={m_size} }}</DisplayString>
<Expand>
<Item Name="[size]">m_size</Item>
<Item Name="[bucket_count]">m_buckets.last - m_buckets.first</Item>
<LinkedListItems>
<HeadPointer>*m_buckets.first</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode>first</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinystl::unordered_map<*,*,*>">
<DisplayString>{{ size={m_size} }}</DisplayString>
<Expand>
<Item Name="[size]">m_size</Item>
<Item Name="[bucket_count]">m_buckets.last - m_buckets.first</Item>
<LinkedListItems>
<HeadPointer>*m_buckets.first</HeadPointer>
<NextPointer>next</NextPointer>
<ValueNode Name="[{first}]">second</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="tinystl::basic_string<*>">
<DisplayString>{m_first,[m_last - m_first]na}</DisplayString>
<StringView>m_first,[m_last - m_first]na</StringView>
<Expand>
<Item Name="[size]">m_last - m_first</Item>
<Item Name="[capacity]">m_capacity - m_first</Item>
<ArrayItems>
<Size>m_last - m_first</Size>
<ValuePointer>m_first</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="tinystl::string_view">
<DisplayString>{m_str,[m_size]na}</DisplayString>
<StringView>m_str,[m_size]na</StringView>
<Expand>
<Item Name="[size]">m_size</Item>
<ArrayItems>
<Size>m_size</Size>
<ValuePointer>m_str</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>