File: types.natvis

package info (click to toggle)
vulkan-validationlayers 1.4.321.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,412 kB
  • sloc: cpp: 594,175; python: 11,321; sh: 24; makefile: 20; xml: 14
file content (27 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download | duplicates (7)
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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
    <!-- small_vector -->
    <Type Name="small_vector&lt;*,*,*&gt;">
        <DisplayString>size = {size_}</DisplayString>
        <Expand>
            <Item Name="size">size_</Item>
            <Item Name="capacity">capacity_</Item>
            <IndexListItems>
                <Size>size_</Size>
                <ValueNode>(large_store_ ? large_store_[$i].object : small_store_[$i].object)</ValueNode>
            </IndexListItems>
        </Expand>
    </Type>
    <!-- ============= sparse containers ========== -->
    <!-- small_range_map -->
    <Type Name="sparse_container::small_range_map&lt;*,*&gt;">
        <DisplayString>size = {size_}</DisplayString>
        <Expand>
            <Item Name="size">size_</Item>
            <IndexListItems>
                <Size>size_</Size>
                <ValueNode>*reinterpret_cast&lt;const value_type*&gt;(&amp;backing_store_[$i])</ValueNode>
            </IndexListItems>
        </Expand>
    </Type>
</AutoVisualizer>