From: Abanowicz Tomasz <pawlaczus@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: C++ browser for overloaded methods
Date: Wed, 06 Jun 2007 05:02:36 -0700 [thread overview]
Message-ID: <1181131356.192551.62090@g4g2000hsf.googlegroups.com> (raw)
Hello
I'm looking for C++ code browser that can do the following.
Assume the following code:
class Human
{
public:
void show(void) { cout << "It's me"; }
void show(int age) { cout << "I'm " << age << " years old"; }
}
class Animal
{
public:
void show(void) { cout << "This is animal"; }
void show (int age) { cout "It is " << age << " years old"; }
}
int main (void)
{
Human Adam;
Animal Bambi;
Adam.show();
Adam.show(20);
Bambi.show();
Bambi.show(3);
}
I would like to jump to the Bambi.show(3) function with one command.
I place the cursor on Bambi.<show>(3) and perform such a command.
Do you know any code browsers that can do that ?
I tried etags and ebrowse but both of them jump to Human::show(void)
function.
ctags from vim gives the list of all show(...) functions and allows me
to manually choose the proper one.
It is much better than blindly jumping to the Human::show(...).
Does emacs allow more intelligent C++ browsing that solves the above
problem ?
What is the name of such a tools ?
Thank You for help.
next reply other threads:[~2007-06-06 12:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 12:02 Abanowicz Tomasz [this message]
2007-06-06 13:29 ` C++ browser for overloaded methods spamfilteraccount
2007-06-06 14:54 ` Tom Tromey
2007-06-07 13:50 ` Scott Frazer
2007-07-23 19:05 ` Abanowicz Tomasz
2007-07-23 20:45 ` Scott Frazer
2007-07-24 16:53 ` Scott Frazer
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181131356.192551.62090@g4g2000hsf.googlegroups.com \
--to=pawlaczus@yahoo.com \
--cc=help-gnu-emacs@gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).