Re: [pygccxml-development] Using pyplusplus with indexing suite
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-05-23 06:52:26
|
On 5/23/06, Allen Bierbaum <al...@vr...> wrote: > Any update on this. Is it still something you think can be automated? :-). Basically, I prepare pygccxml and pyplusplus for next release. This means that source code is almost freeze and the main task is to write documentation. I think I will make a release next week. I do not want to implement complete soluti= on for the problem. Under complete solution, I mean that py++ automatically finds out for which classes and what indexing suite should be registered. So I implemented partial solution, that I hope will make your life easier: mb =3D module_builder_t( ... ) item_cls =3D mb.class_( 'item_t' ) item_cls.indexing_suites.append( module_builder.vector_indexing_suite_t( 'items_t' ) ) I don't promise, that the last line will stay as is in the future( =3D=3D when I implement full support for indexing suite ). But don't worry, I will let you know before I will commit the changes. I know, that you are going to take a look on the code, I wrote, am I right? If so can you add few doc strings and commit? ( Yes, you have SVN access ). Thanks. P.S. vector_indexing_suite requires operators =3D=3D and !=3D. --=20 Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |