[C++-sig] STL list data member.
Balasubramanyam, Shivakumar
sbalasub at qualcomm.com
Tue Aug 8 06:40:25 CEST 2006
Hi,
I have some classes which has std::list as public data members that need
to be exposed.
What is the good way to do it?
The short term solution I can think of is to add a wrapper getter/setter
method to convert to/from boost::python::list.
I could probably use the decl_string from py++ to check if the
member_data is "::std::list" and automate the wrapper generation.
Does anyone else have other solutions?
Thanks,
Shiva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20060807/5d3fc3d3/attachment.htm>
More information about the Cplusplus-sig
mailing list