回复: How can view C++ classes in GUI ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

回复: How can view C++ classes in GUI ?

鸡肋
Thanks All,
I have tried "get_class_info" and "class_info" .They need create an instance of C++ class, but some of my C++ classes are pure abstract class which don't allow to instanced. In addition, I also want some base class information ? How can I do it?
 
------------------ 原始邮件 ------------------
发送时间: 2012年3月28日(星期三) 晚上7:57
收件人: "luabind-user"<[hidden email]>;
主题: Re: [luabind] How can view C++ classes in GUI ?
 
have you tried "class_info" that comes with luabind? grep the sources, it might not be bound by default.

On 28.03.2012, at 11:52, Willi Schinmeyer wrote:

> On 28.03.2012 11:33:50, 鸡肋 <[hidden email]> wrote:
>> I installed many C++ classes and functions in lua.
>> Now, I want to show all the classes which installed to lua in a ListView. The root element is class name, child elements are class member function names.
>> But the class installed to lua is LUA_TUSERDATA type. How can I get the class's memeber function name.
>
> As far as I know that's not possible - but I'd like something like that, too, maybe I'll look into adding it. But no promises.
>
> Willi
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
> luabind-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/luabind-user


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: 回复: How can view C++ classes in GUI ?

Ryan Pavlik-4


On Thu, Mar 29, 2012 at 1:54 AM, 鸡肋 <[hidden email]> wrote:
Thanks All,
I have tried "get_class_info" and "class_info" .They need create an instance of C++ class, but some of my C++ classes are pure abstract class which don't allow to instanced.

I fixed this bug in my branch - you can just pass the class.
 
In addition, I also want some base class information ? How can I do it?

Looks like nobody has added this yet. You'd probably want to do something like get_class_info.


--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[hidden email]
http://academic.cleardefinition.com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user