forked from cdcseacave/Visual-Studio-Visualizers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSEACAVE.natvis
113 lines (104 loc) · 5.4 KB
/
SEACAVE.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- SEACAVE::cList -->
<Type Name="SEACAVE::cList<*>">
<AlternativeType Name="cList<*>"/>
<DisplayString>{{size={_size} capacity={_vectorSize}}}</DisplayString>
<Expand>
<ArrayItems>
<Size>_size</Size>
<ValuePointer>_vector</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- SEACAVE::TImage -->
<Type Name="SEACAVE::TDMatrix<*>">
<AlternativeType Name="SEACAVE::TImage<*>"/>
<AlternativeType Name="SFM::TDMatrix<*>"/>
<AlternativeType Name="SFM::TImage<*>"/>
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
</Type>
<Type Name="SEACAVE::TDMatrix<*>">
<AlternativeType Name="SEACAVE::TImage<*>"/>
<AlternativeType Name="SFM::TDMatrix<*>"/>
<AlternativeType Name="SFM::TImage<*>"/>
<DisplayString Condition="(flags&7)==0">{{UINT8, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==1">{{INT8, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==2">{{UINT16, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==3">{{INT16, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==4">{{INT32, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==5">{{FLOAT32, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==6">{{FLOAT64, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==7">{{USER, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<Expand>
<Synthetic Name="[type]" Condition="(flags&7)==0">
<DisplayString>UINT8</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==1">
<DisplayString>INT8</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==2">
<DisplayString>UINT16</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==3">
<DisplayString>INT16</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==4">
<DisplayString>INT32</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==5">
<DisplayString>FLOAT32</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==6">
<DisplayString>FLOAT64</DisplayString>
</Synthetic>
<Item Name="[channels]">((flags&0xfff)>>3)+1</Item>
<Item Name="[width]">cols</Item>
<Item Name="[height]">rows</Item>
<Item Name="[data]">data</Item>
<Item Name="[stride]">step.p[0]</Item>
</Expand>
</Type>
<!-- SEACAVE::TImageX -->
<Type Name="SEACAVE::TImageX<*>">
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
</Type>
<Type Name="SEACAVE::TImageX<*>">
<DisplayString Condition="(flags&7)==0">{{UINT8, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==1">{{INT8, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==2">{{UINT16, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==3">{{INT16, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==4">{{INT32, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==5">{{FLOAT32, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==6">{{FLOAT64, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<DisplayString Condition="(flags&7)==7">{{USER, {((flags&0xfff)>>3)+1} x {cols} x {rows}}}</DisplayString>
<Expand>
<Synthetic Name="[type]" Condition="(flags&7)==0">
<DisplayString>UINT8</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==1">
<DisplayString>INT8</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==2">
<DisplayString>UINT16</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==3">
<DisplayString>INT16</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==4">
<DisplayString>INT32</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==5">
<DisplayString>FLOAT32</DisplayString>
</Synthetic>
<Synthetic Name="[type]" Condition="(flags&7)==6">
<DisplayString>FLOAT64</DisplayString>
</Synthetic>
<Item Name="[channels]">((flags&0xfff)>>3)+1</Item>
<Item Name="[width]">cols</Item>
<Item Name="[height]">rows</Item>
<Item Name="[data]">data</Item>
<Item Name="[stride]">step.p[0]</Item>
</Expand>
</Type>
</AutoVisualizer>