mirror of https://github.com/Icinga/icinga2.git
Improve support for the Value class in the natvis extension
This commit is contained in:
parent
3ed85aea31
commit
fb6cc2f6ed
|
@ -6,7 +6,10 @@
|
||||||
|
|
||||||
<Type Name="icinga::Value">
|
<Type Name="icinga::Value">
|
||||||
<DisplayString Condition="m_Value.which_ == 0">Empty</DisplayString>
|
<DisplayString Condition="m_Value.which_ == 0">Empty</DisplayString>
|
||||||
<DisplayString>{m_Value}</DisplayString>
|
<DisplayString Condition="m_Value.which_ == 1">{*(double *)m_Value.storage_.data_.buf}</DisplayString>
|
||||||
|
<DisplayString Condition="m_Value.which_ == 2">{*(double *)m_Value.storage_.data_.buf}</DisplayString>
|
||||||
|
<DisplayString Condition="m_Value.which_ == 3">{*(icinga::String *)m_Value.storage_.data_.buf}</DisplayString>
|
||||||
|
<DisplayString Condition="m_Value.which_ == 4">{*(boost::intrusive_ptr<icinga::Object> *)m_Value.storage_.data_.buf}</DisplayString>
|
||||||
</Type>
|
</Type>
|
||||||
|
|
||||||
<Type Name="icinga::Array">
|
<Type Name="icinga::Array">
|
||||||
|
|
Loading…
Reference in New Issue