• 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
encoding c++ objects for file saving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

encoding c++ objects for file saving


  • Subject: encoding c++ objects for file saving
  • From: "lina peterseil" <email@hidden>
  • Date: Thu, 1 Mar 2007 16:42:25 +0000

Hi list,
I am wondering if anyone could help me!
I am trying to save a c++ object (which contains a member variable which is
a boost sparse array) to file using NSCoder methods. these metods only take
objective c objects, so i tried wrapping my c++ object in an objective c
class, this worked, but my c++ object member variables were nil coming back
out. I presume that i actually have to encode the member variables of my c++
class seperately. How do i do this, seeing as i need my objects to be
objective c if i want to encode or decode them?
Any suggestions would be appreciated!
Lina
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: encoding c++ objects for file saving
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Re: Array exception when changing the bounds size of a view
  • Next by Date: Re: encoding c++ objects for file saving
  • Previous by thread: appleEvent?
  • Next by thread: Re: encoding c++ objects for file saving
  • Index(es):
    • Date
    • Thread