Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50379 - sandbox/boost_docs/subprojects/DebuggerVisualizers
From: john_at_[hidden]
Date: 2008-12-24 06:25:13


Author: johnmaddock
Date: 2008-12-24 06:25:13 EST (Wed, 24 Dec 2008)
New Revision: 50379
URL: http://svn.boost.org/trac/boost/changeset/50379

Log:
Added a couple of new visualisers, regex visualiser isn't all that great at present.
Added:
   sandbox/boost_docs/subprojects/DebuggerVisualizers/regex.vis.txt (contents, props changed)
   sandbox/boost_docs/subprojects/DebuggerVisualizers/shared_ptr.vis.txt (contents, props changed)

Added: sandbox/boost_docs/subprojects/DebuggerVisualizers/regex.vis.txt
==============================================================================
--- (empty file)
+++ sandbox/boost_docs/subprojects/DebuggerVisualizers/regex.vis.txt 2008-12-24 06:25:13 EST (Wed, 24 Dec 2008)
@@ -0,0 +1,20 @@
+;------------------------------------------------------------------------------
+; boost::basic_regex
+;------------------------------------------------------------------------------
+
+boost::basic_regex<*,*>{
+ preview
+ (
+ #( "regex ",
+ $c.m_pimpl.px->m_expression
+ )
+ )
+ children
+ (
+ #(
+ internals: $c.m_pimpl.px
+ )
+ )
+}
+
+

Added: sandbox/boost_docs/subprojects/DebuggerVisualizers/shared_ptr.vis.txt
==============================================================================
--- (empty file)
+++ sandbox/boost_docs/subprojects/DebuggerVisualizers/shared_ptr.vis.txt 2008-12-24 06:25:13 EST (Wed, 24 Dec 2008)
@@ -0,0 +1,22 @@
+;------------------------------------------------------------------------------
+; boost::shared_ptr
+;------------------------------------------------------------------------------
+
+boost::shared_ptr<*>{
+ preview
+ (
+ #( "shared_ptr ",
+ (*(($T1 *)$c.px) )
+ , " count = ", $c.pn.pi_->use_count_
+ )
+ )
+ children
+ (
+ #(
+ ptr: (*(($T1 *)$c.px)) ,
+ count: $c.pn.pi_->use_count_ ,
+ weak_count: $c.pn.pi_->weak_count_
+ )
+ )
+}
+


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