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
 Change Signature & Document Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wanzi
New Member

New Zealand
6 Posts

Posted - Jul 17 2006 :  04:30:56 AM  Show Profile  Reply with Quote
Problem 1:

namespace Refactor
{
    class RTest
    {
        void Func(int a);
    }
}

namespace Refactor
{
    
    void RTest::Func(int a)
    {
        return a*10;
    }
    
}



Click Change Signature, and rename the param a to b, only the function declaration changes correctly. The code in definition block and param list remain same, but the name of the function changes to

void Refactor::RTest::Func(int a)


But if the definiton is like what is produced by clicking Create Implementation
e.g.

namespace Refactor
{
}
void Refactor::RTest::Func(int a)
{
    return a*10;
}

The result is correct.

Problem 2:
When function definition is like case 1 above(The definition is inside the namespace block)
After clicking Document Method:

//************************************
// Method: Func
// FullName: Refactor::RTest::Func
// Access: public
// Returns: int RTest::
// Qualifier:
// Parameter: int a
//************************************

The return type is wrong

Edited by - wanzi on Jul 17 2006 04:40:08 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 18 2006 :  6:42:23 PM  Show Profile  Reply with Quote
problem 1, are you seeing this with the code in the header file? if so then this looks like a known bug which is hopefully fixed in 1531.

problem 2 seems to be a new one

case=1727

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

wanzi
New Member

New Zealand
6 Posts

Posted - Jul 19 2006 :  02:08:27 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

problem 1, are you seeing this with the code in the header file? if so then this looks like a known bug which is hopefully fixed in 1531.



No, the code is in the source file.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 20 2006 :  5:42:31 PM  Show Profile  Reply with Quote
i have left myself a note on case=1541 to see if this is fixed when the code is in a cpp file. if not then i will put in a new bug report for this.

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 08 2006 :  01:12:43 AM  Show Profile  Reply with Quote
Problem 1, case=1541, is fixed in build 1531.

Case 1727 if fixed as well.

Edited by - support on Aug 08 2006 01:13:37 AM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000