From: "Elmenthaler, Jens" <jens.elmenthaler@verigy.com>
To: <gdb@sourceware.org>
Subject: Python pretty printers and dynamic cast
Date: Fri, 30 Oct 2009 17:25:00 -0000 [thread overview]
Message-ID: <58596C4646708B4BB990C44839973330012C1AB4@usplmvpbe001.ent.rt.verigy.net> (raw)
In-Reply-To: <00bc01ca57d2$0c74a480$255ded80$@com>
Hi all,
I have the following situation: I have an interface type (a class with pure virtual methods only, no data members), and an actual implementation type (having the actual data members). The interface type is used in all public interfaces, but the only implementation of it is the one implementation type.
Is there any way for a python pretty printer to do (or 'mimic') a dynamic cast, such that I can show the members of the implementation type where ever I have the interface type?
Jens.
next prev parent reply other threads:[~2009-10-30 15:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-15 14:50 simulator for sparc64? Joel Sherrill
2009-10-28 10:20 ` Doug Evans
2009-10-28 12:58 ` Joel Sherrill
2009-10-28 13:59 ` Jakob Engblom
2009-10-29 0:28 ` Joel Sherrill
2009-10-30 17:25 ` Elmenthaler, Jens [this message]
2009-10-30 17:51 ` Python pretty printers and dynamic cast Tom Tromey
2009-12-22 8:15 ` Elmenthaler, Jens
2010-01-05 15:34 ` Tom Tromey
2010-01-07 8:55 ` Elmenthaler, Jens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58596C4646708B4BB990C44839973330012C1AB4@usplmvpbe001.ent.rt.verigy.net \
--to=jens.elmenthaler@verigy.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox