Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54357 - sandbox/boost_docs/subprojects/DebuggerVisualizers
From: steven_at_[hidden]
Date: 2009-06-25 18:38:47


Author: steven_watanabe
Date: 2009-06-25 18:38:47 EDT (Thu, 25 Jun 2009)
New Revision: 54357
URL: http://svn.boost.org/trac/boost/changeset/54357

Log:
Add variant visualizer.
Added:
   sandbox/boost_docs/subprojects/DebuggerVisualizers/variant.vis.txt (contents, props changed)

Added: sandbox/boost_docs/subprojects/DebuggerVisualizers/variant.vis.txt
==============================================================================
--- (empty file)
+++ sandbox/boost_docs/subprojects/DebuggerVisualizers/variant.vis.txt 2009-06-25 18:38:47 EDT (Thu, 25 Jun 2009)
@@ -0,0 +1,90 @@
+;------------------------------------------------------------------------------
+; boost::variant
+;
+; Copyright (c) 2009 Dmitry Vinogradov
+; Copyright (c) 2009 Steven Watanabe
+;
+; Distributed under the Boost Software License, Version 1.0. (See
+; accomapnying file LICENSE_1_0.txt or copy at
+; http://www.boost.org/LICENSE_1_0.txt)
+;------------------------------------------------------------------------------
+
+boost::variant<boost::detail::variant::over_sequence<*>,*> {
+ preview ([$e,!])
+ children (
+ #(
+ which_ : $e.which_,
+ #(storage_ : $e.storage_)
+ )
+ )
+}
+
+boost::variant<boost::detail::variant::recursive_flag<boost::detail::variant::over_sequence<*> >,*> {
+ preview ([$e,!])
+ children (
+ #(
+ which_ : $e.which_,
+ #(storage_ : $e.storage_)
+ )
+ )
+}
+
+boost::variant<boost::detail::variant::recursive_flag<*>,*,*,*,*,*,*,*,*,*>|boost::variant<*,*,*,*,*,*,*,*,*,*> {
+ preview (
+ #(
+ #switch($e.which_)
+ #case 0 ( *($T1 *)&($e.storage_.data_) )
+ #case 1 ( *($T2 *)&($e.storage_.data_) )
+ #case 2 ( *($T3 *)&($e.storage_.data_) )
+ #case 3 ( *($T4 *)&($e.storage_.data_) )
+ #case 4 ( *($T5 *)&($e.storage_.data_) )
+ #case 5 ( *($T6 *)&($e.storage_.data_) )
+ #case 6 ( *($T7 *)&($e.storage_.data_) )
+ #case 7 ( *($T8 *)&($e.storage_.data_) )
+ #case 8 ( *($T9 *)&($e.storage_.data_) )
+ #case -1 ( **($T1 **)&($e.storage_.data_) )
+ #case -2 ( **($T2 **)&($e.storage_.data_) )
+ #case -3 ( **($T3 **)&($e.storage_.data_) )
+ #case -4 ( **($T4 **)&($e.storage_.data_) )
+ #case -5 ( **($T5 **)&($e.storage_.data_) )
+ #case -6 ( **($T6 **)&($e.storage_.data_) )
+ #case -7 ( **($T7 **)&($e.storage_.data_) )
+ #case -8 ( **($T8 **)&($e.storage_.data_) )
+ #case -9 ( **($T9 **)&($e.storage_.data_) )
+ #default (#([actual members] : [$e,!]))
+ #except (#([actual members] : [$e,!]))
+ )
+ )
+ children
+ (
+ #(
+ value :
+ #switch($e.which_)
+ #case 0 ( *($T1 *)&($e.storage_.data_) )
+ #case 1 ( *($T2 *)&($e.storage_.data_) )
+ #case 2 ( *($T3 *)&($e.storage_.data_) )
+ #case 3 ( *($T4 *)&($e.storage_.data_) )
+ #case 4 ( *($T5 *)&($e.storage_.data_) )
+ #case 5 ( *($T6 *)&($e.storage_.data_) )
+ #case 6 ( *($T7 *)&($e.storage_.data_) )
+ #case 7 ( *($T8 *)&($e.storage_.data_) )
+ #case 8 ( *($T9 *)&($e.storage_.data_) )
+ #case -1 ( **($T1 **)&($e.storage_.data_) )
+ #case -2 ( **($T2 **)&($e.storage_.data_) )
+ #case -3 ( **($T3 **)&($e.storage_.data_) )
+ #case -4 ( **($T4 **)&($e.storage_.data_) )
+ #case -5 ( **($T5 **)&($e.storage_.data_) )
+ #case -6 ( **($T6 **)&($e.storage_.data_) )
+ #case -7 ( **($T7 **)&($e.storage_.data_) )
+ #case -8 ( **($T8 **)&($e.storage_.data_) )
+ #case -9 ( **($T9 **)&($e.storage_.data_) )
+ #default ( *(void*)0 )
+ #except ( *(void*)0 ),
+ #([actual members] : [$e,!])
+ )
+ )
+}
+
+boost::recursive_wrapper<*> {
+ preview ([*$e.p_])
+}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk