forked from Green-Sky/tomato
Green Sky
5c7231b7a3
git-subtree-dir: external/entt/entt git-subtree-split: fef921132cae7588213d0f9bcd2fb9c8ffd8b7fc
34 lines
1.6 KiB
XML
34 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
<Type Name="entt::dense_map<*>">
|
|
<Intrinsic Name="size" Expression="packed.first_base::value.size()"/>
|
|
<Intrinsic Name="bucket_count" Expression="sparse.first_base::value.size()"/>
|
|
<DisplayString>{{ size={ size() } }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[capacity]" ExcludeView="simple">packed.first_base::value.capacity()</Item>
|
|
<Item Name="[bucket_count]" ExcludeView="simple">bucket_count()</Item>
|
|
<Item Name="[load_factor]" ExcludeView="simple">(float)size() / (float)bucket_count()</Item>
|
|
<Item Name="[max_load_factor]" ExcludeView="simple">threshold</Item>
|
|
<IndexListItems>
|
|
<Size>size()</Size>
|
|
<ValueNode>packed.first_base::value[$i].element</ValueNode>
|
|
</IndexListItems>
|
|
</Expand>
|
|
</Type>
|
|
<Type Name="entt::dense_set<*>">
|
|
<Intrinsic Name="size" Expression="packed.first_base::value.size()"/>
|
|
<Intrinsic Name="bucket_count" Expression="sparse.first_base::value.size()"/>
|
|
<DisplayString>{{ size={ size() } }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[capacity]" ExcludeView="simple">packed.first_base::value.capacity()</Item>
|
|
<Item Name="[bucket_count]" ExcludeView="simple">bucket_count()</Item>
|
|
<Item Name="[load_factor]" ExcludeView="simple">(float)size() / (float)bucket_count()</Item>
|
|
<Item Name="[max_load_factor]" ExcludeView="simple">threshold</Item>
|
|
<IndexListItems>
|
|
<Size>size()</Size>
|
|
<ValueNode>packed.first_base::value[$i].second</ValueNode>
|
|
</IndexListItems>
|
|
</Expand>
|
|
</Type>
|
|
</AutoVisualizer>
|