[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ browser for overloaded methods
From: |
Abanowicz Tomasz |
Subject: |
C++ browser for overloaded methods |
Date: |
Wed, 06 Jun 2007 05:02:36 -0700 |
User-agent: |
G2/1.0 |
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.
- C++ browser for overloaded methods,
Abanowicz Tomasz <=