Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Methods are not in the list
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jun 15 2004 :  03:28:59 AM  Show Profile
If I write my classes like this:
CWorkspaceBar::CWorkspaceBar()
{}
CWorkspaceBar::~CWorkspaceBar()
{}

Or place everything in one line:
CWorkspaceBar::CWorkspaceBar() {}
CWorkspaceBar::~CWorkspaceBar() {}

The Methodes do not appear in the methodes list (ALT+M)

Martin

PS: I am using Build 1239

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Jun 15 2004 :  08:31:48 AM  Show Profile
using VAX 1239, VS .NET 2003 and a .h fine in C++ i have:

QDate GetStartDate() const    { return m_dateEditStart->date(); };
QDate GetEndDate() const      { return m_dateEditEnd->date(); };
and these are showing up in the alt_m list for me. have you re-parsed the file recently? is this in a cpp file?

i am sure i have a cpp file somewhere like this, and i can hunt it up and check if that will help.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 15 2004 :  6:01:07 PM  Show Profile
You need at least one line or one statement before the method is deemed worth enough for the Alt+M menu.

We will consider changing our policy.

case=138

Whole Tomato Software, Inc.
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jun 16 2004 :  04:12:37 AM  Show Profile
I disagree. If I write
CWorkspaceBar::CWorkspaceBar()
{
}
CWorkspaceBar::~CWorkspaceBar()
{
}

The functions are included in the list.
Also in the starting phase you often have empty bodies that will be filled later.

Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jun 16 2004 :  10:47:06 AM  Show Profile
quote:
Originally posted by support

You need at least one line or one statement before the method is deemed worth enough for the Alt+M menu.



Why? I might have a function overloading a virtual function in the base class which does just nothing, either because I dont want the functionality of the base or it is a pure (-nonsense) function which just has to be there.
Same for constructors, they often are intentionally empty, just to be there.
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jun 16 2004 :  11:13:36 AM  Show Profile
quote:
Originally posted by support

You need at least one line or one statement before the method is deemed worth enough for the Alt+M menu.
"Explain the logic underlying that conclusion", as Monty Python said. (http://sound.westhost.com/python.htm)

Are you trying to filter out MFC things that no one ever wants to see in the Alt+M menu? Or some macro-based stuff? Because I think I want to see all my methods in that menu: what methods are you protecting me from that I'm forgetting about?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000