Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Extract fields to sub-structure

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Chowlett Posted - Jul 11 2014 : 10:48:40 AM
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;
};
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 07 2014 : 8:12:37 PM
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.
AjayV Posted - Aug 07 2014 : 05:12:38 AM
Yes. That would be great feature. The feature should make appropriate changes everywhere.
accord Posted - Jul 11 2014 : 9:37:09 PM
We are considering implementing something like this:

case=70964

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000