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
 Feature Requests
 Extract fields to sub-structure
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chowlett
Starting Member

United Kingdom
1 Posts

Posted - Jul 11 2014 :  10:48:40 AM  Show Profile  Reply with Quote
Could we have a feature to allow a group of fields to be extracted from a class or structure into a sub-class or -structure? So we could turn:


class Car
{
  string make;
  string model

  // Fields relating to the engine
  FuelType fuelType;
  int capacity;
  int horsePower;
};


into:


class Engine
{
  FuelType fuelType;
  int capacity;
  int horsePower;
};

class Car
{
  string make;
  string model

  // Fields relating to the engine
  Engine engine;
};

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 11 2014 :  9:37:09 PM  Show Profile  Reply with Quote
We are considering implementing something like this:

case=70964
Go to Top of Page

AjayV
Junior Member

India
23 Posts

Posted - Aug 07 2014 :  05:12:38 AM  Show Profile  Reply with Quote
Yes. That would be great feature. The feature should make appropriate changes everywhere.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 07 2014 :  8:12:37 PM  Show Profile  Reply with Quote
I have noted your interest on the case, it is useful to know which features people are interested in. Updating the code is logical, and hopefully this will work smoothly.

zen is the art of being at one with the two'ness
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