[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: directly accesing c++ class members
- From: Peter Shook <pshook@...>
- Date: Sun, 18 May 2003 08:41:15 -0400
Roger D. Vargas wrote:
A couple of questions about this, can I access/modify even protected/private
members?
Yes.
Here is a example using a revised version of Luna with the whole nine yards.
http://lua-users.org/wiki/CallingLuaFromCpp
You can set/get whatever members you want, but you need to write a C++
get/set memthod for each one. This isn't too bad because they are
usually just one line.
- Peter Shook