CDT Class Wizard Enhancements This document serves as the current "Record of Understanding" for the requirements of the Class Wizard for the Eclipse CDT. |
![]() |
Author: | Chris Wiebe, Alain Magloire |
Revision Date: | 04/14/2004 - Version: 0.1.0 |
A picture is worth a thousand words. The following mock-up illustrates how the Class Wizard could possibly function:
In the Base Classes table:
The Enclosing Type can be an existing class or namespace.
In the Method Stubs table:
The default stubs would be:
In the future, additional stubs could be added, e.g.:
By default, the path field should contain the location of the selected project/file/folder when the class wizard was opened. The header filename is constructed from the Name field + ".h" but can be overriden if needed. Clicking the Browse button brings up a file selection dialog where you can pick an existing header file.
The include guard checkbox, if selected, causes the generated header file to be wrapped with #ifdef macros. This field is disabled if the header file already exists.
By default, the path field should contain the location of the selected project/file/folder when the class wizard was opened. The source filename is constructed from the Name field + ".cpp" but can be overriden if needed. Clicking the Browse button brings up a file selection dialog where you can pick an existing source file.