[Uml-devel] [Bug 81068] New: Disregards "Generate accessors methods" setting in CPP generation
Gregory Shpitalnik
g_greg at netvision.co.il
Thu May 6 15:31:12 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=81068
Summary: Disregards "Generate accessors methods" setting in CPP
generation
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: g_greg netvision co il
Version: (using KDE KDE 3.2.0)
Installed from: I Don't Know
OS: Linux
Umbrello C++ generator always generates accessors for
class attributes even when "Generate accessors methods" setting is not marked.
It would be also nice to take into account class attributes prefix
like "m_" when generating accessors methods.
For instance if you have class attribute "m_name" then
generate accessors get_name()/set_name() rather than
get_m_name()/set_m_name().
It might be helpfull to add "Class attributes prefix" setting to the
C++ Code generation settings and generate accessors with regard to this setting.
More information about the umbrello-devel
mailing list