Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [11-2002 Date Index] [Date Next] || [Thread Prev] [11-2002 Thread Index] [Thread Next]

[openbeosnetteam] Re: NetDebug.h break BC

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 13 Nov 2002 21:14:03 +0100 (added by postmaster@wanadoo.fr)
Scott wrote:
> > But why making these 4 variables protected instead of private?
> > Does your BNetEndpoint implementation exploit these protected 
members
> > in some way?
> 
> No, BNetEndpoint doesn't.
> 
> I made these protected for convenience of implementation and 
inheritance -- 
> should someone decide to extend this class with their own 
implementation and 
> need access to the stack controllers.  Since, in the interest of 
binary 
> compatibility, I couldn't write accessors and mutators for these 
member 
> variables (which is, AFAIK, the generally accepted way to allow 
access to 
> member data; please correct me if I'm wrong here) without breaking 
the class' 
> signature, I made them protected.
> 
> If you want, I'll fix 'em.  After all, I'm the idiot that broke them 
in the 
> first place...

Not, it's fine. I was just wondering why "protected".

> Scott "still workin' on my morning coffee" Mansfield

LOL.

--
Fortune Cookie Says:

Elevators smell different to midgets






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.