Roman Yakovenko wrote:
> property has_wrapper
> property, that indicates whether pyplusplus should create wrapper or not.
> For example virtual function has_wrapper, but user can set it to false, to
> disable generation of it
>
> def enable_wrapper
> def disable_wrapper
> sets has_wrapper to true/false
>
> def requires_wrapper
> returns true if the only way to expose declaration is to create
> some wrapper for it.
> For example pure virtual function, protected function or function
> that takes as argument
> non const reference to fundamental type.
>
> relevant functionality of decl_wrappers.class_t is implemented in
> terms of child declarations.
>
> Is it clear description of what is going on?
So far it looks clear to me (but I didn't need wrappers for the Maya SDK
yet (there are only a few classes that are actually meant to be derived
from by the user), so it may well be that I overlook some issues...).
- Matthias -
|