• 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
how to access a c++ vector member of an objc class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to access a c++ vector member of an objc class?


  • Subject: how to access a c++ vector member of an objc class?
  • From: "julien ricard" <email@hidden>
  • Date: Wed, 30 May 2007 15:08:40 +0200

hi,

how can I access the c++ vector in an instance of the class shown below?
[myTrack desc] seems not to return a vector (I thought I could do
things like [myTrack desc][i]=5.0).

thanks
Jul


****************************************** @interface Track : NSObject { @public std::vector <float> desc;

   @protected
       NSString * filename;
       int nDesc;
}
*******************************************
_______________________________________________

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: how to access a c++ vector member of an objc class?
      • From: Shawn Erickson <email@hidden>
    • Re: how to access a c++ vector member of an objc class?
      • From: Shamyl Zakariya <email@hidden>
  • Prev by Date: Re: NSBrowser is asking for wrong column
  • Next by Date: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Previous by thread: RE: Qt embedded in Cocoa
  • Next by thread: Re: how to access a c++ vector member of an objc class?
  • Index(es):
    • Date
    • Thread