Re: Cocoa & C++ Protected Member Functions
Re: Cocoa & C++ Protected Member Functions
- Subject: Re: Cocoa & C++ Protected Member Functions
- From: Ingvar Nedrebo <email@hidden>
- Date: Fri, 11 Oct 2002 10:46:13 +0100
On Friday, Oct 11, 2002, at 04:59 Europe/London, Jason Harris wrote:
Hi, List!
I'm trying to use Cocoa to do some quick visualization of
platform-generic ISO C++ code I'm working on. To do this (cleanly), I
need access to the C++ class' protected member functions.
Anyone got any clue how to declare an objective-c++ class as a friend
class of a c++ class? Possible, or am I foolishly deluding myself?
One idea might be to write a C++ helper class, make this a friend of
your original C++ class, and have public methods in the helper to call
those protected methods. You would then call the public methods in the
helper from your ObjC class.
I.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.