• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa & C++ Protected Member Functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa & C++ Protected Member Functions


  • Subject: Re: Cocoa & C++ Protected Member Functions
  • From: Jason Harris <email@hidden>
  • Date: Fri, 11 Oct 2002 13:32:33 -0700

Thanks for the suggestion, that's what I'll do.

Jason


Ingvar Nedrebo Tried to Tell Me:

> 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.
_______________________________________________
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.

References: 
 >Re: Cocoa & C++ Protected Member Functions (From: Ingvar Nedrebo <email@hidden>)

  • Prev by Date: Re: NSTextView, NSTextStorage, NSParagraph and lineHeight
  • Next by Date: [OT] swapfile on other partition
  • Previous by thread: Re: Cocoa & C++ Protected Member Functions
  • Next by thread: partly connected nibs?
  • Index(es):
    • Date
    • Thread