[pygccxml-development] indexing suite support
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-06-18 08:47:24
|
Hi. I implemented and tested indexing suite support. In order to get an idea what I am talking about please read this: http://language-binding.net/pyplusplus/peps/indexing_suite.html. Right now the only supported container is std::vector. It will take only few hours to add support to other containers( map and set ). It could be nice if you can test the latest code. Next link will give you an idea how to find vector class: http://svn.sourceforge.net/viewcvs.cgi/pygccxml/pyplusplus_dev/unittests/indexing_suites_tester.py?view=markup Also there is new type traits functionality: class vector_traits: is_vector( type ) returns true if type is std::vector instantiation class_declaration( type ) returns reference to vector class declaration value_type( type ) returns reference to type/class that is value type of the vector NOTE: The previous interface has been removed from source code. Enjoy. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |