Am Fri, 09 Sep 2005 13:10:14 +0200 schrieb Ed Leafe <[EMAIL PROTECTED]>:

On Sep 9, 2005, at 6:25 AM, Adi J. Sieker wrote:

My understanding, is that a single underscore is equivalent to the protected keyword of C++, class methods and sub class methods are allowed access. Two underscores is equivalent to the private
keyword, which means only class methods are allowed access.

That is my understanding, too. So if the method needs to be called from classes outside of dForm, it should be 'registerObject()' and not '_registerObject()'.

That's what I'd say.
_registerObject() should only be called from sub classes of dForm.
Where as registerObject() is part of the public interface of dForm and
can be clled from anyone.

adi

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to