|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-03 12:10:48
See http://www.boost.org/libs/python/doc/special.html#getter_setter
HTH,
Dave
===================================================
David Abrahams, C++ library designer for hire
resume: http://users.rcn.com/abrahams/resume.html
C++ Booster (http://www.boost.org)
email: david.abrahams_at_[hidden]
===================================================
----- Original Message -----
From: <henrik_ekelund_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, October 03, 2001 8:54 AM
Subject: [boost] Python: How to expose a variable?
> Does anybody know how to expose:
> 1. a class attribute
> 2. a variable to Python
> The only thing I can find in the documentation is about exposing
> enums, but surely this should be simpler? Perhaps too obvious for me?
>
> Any help will be appreciated.
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk