Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CLocalVariable and CGlobalVariable

Hi,

There is also "InternalVariable" in the CRegister class. All of these
classes implement the IInternalVariable interface, but the
implementation for the CRegister's class is different. As far as I
remember it was done very quickly to fix a major bug and hasn't been
revisited since. As a result the design is not particularly good.
New ideas or solutions are always welcome.

Regards,
Mikhail
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Vladimir Prus
Sent: 16 November 2006 19:44
To: CDT list.
Subject: [cdt-dev] CLocalVariable and CGlobalVariable


Hello,
looking at the CLocalVariable and CGlobalVariable, I see that both have
a class "InternalVariable". The definition of both InternalVariable is
identical, character-for-character, except for the getCDIVariable
method.

Is there any reason there's no some base class, as opposed to
duplicating the definition?

Thanks,
Volodya
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




Back to the top