Boost logo

Boost Users :

Subject: [Boost-users] how to expose an stl vector class porperty
From: Massimiliano Bellomo (massimiliano.bellomo_at_[hidden])
Date: 2008-10-15 10:22:14


Dear all,

i've a property of a class which is a std::vector<Foo*>
that i would like to expose to python.
Foo is a class already exposed.

How do i implement the setter/getter methods for the vector property
and declare them in the python module ?

Many thanks,
regards,
Max

-- 
---------------------------------------
Massimiliano Bellomo
Dep. of Nuclear and Theoretical Physics
INFN Pavia - +39 0382 987 234
---------------------------------------

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net