Anonymous | Login | 2021-02-26 12:58 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Revisions: Issue #29828 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0029828: Coding Rules - specify preferred style for declaring OCCT RTTI elements in class definition | ||
Revision | 2018-05-31 11:50 by kgv | ||
Description | Currently, different OCCT classes follow different style while declaring RTTI elements like DEFINE_STANDARD_RTTIEXT, DEFINE_STANDARD_HANDLE, DEFINE_STANDARD_ALLOC and the list of friend classes. Most headers have been generated from CDL files by WOK in past and inherits multiple ugliness (like empty "protected: " sections) and obsolete elements (like DEFINE_STANDARD_HANDLE at the beginning of the file with redundant forward declared class; DEFINE_STANDARD_RTTIEXT put in the middle of class methods), while C++ headers created without CDL legacy (before/after WOK removal) follow different style. It is desired determining the common style for these elements to avoid confusion. |
||
Revision | 2018-05-31 10:54 by kgv | ||
Description | Currently, different OCCT classes follow different style while declaring RTTI elements like DEFINE_STANDARD_RTTIEXT, DEFINE_STANDARD_HANDLE, DEFINE_STANDARD_ALLOC and the list of friend classes. Most headers have been generated from CDL files by WOK in past and inherits multiple ugliness (like empty "protected: " sections) and obsolete elements (like DEFINE_STANDARD_HANDLE at the beginning of the file with redundant forward declared class), while C++ headers created without CDL legacy (before/after WOK removal) follow different style. It is desired determining the common style for these elements to avoid confusion. |
Copyright © 2000 - 2021 MantisBT Team |