Re: [pygccxml-development] Chaining calls
Brought to you by:
mbaas,
roman_yakovenko
|
From: Matthias B. <ba...@ir...> - 2006-09-27 11:12:52
|
Roman Yakovenko wrote:
>> For example, I think it would be great if in addition to writing this:
>>
>> myclass = mb.class_('myclass')
>> ...
>> myclass_foo = myclass.member_function('goo')
>> myclass_foo.rename('foo')
>> myclass_foo.include()
>>
>> ... you could also write this:
>>
>> myclass = mb.class_('myclass')
>> ...
>> myclass.member_function('goo').rename('foo').include()
>
> I don't see a problem with it. Matthias what do you think?
Of course, that's fine with me (pypp_api does that already anyway...
(but I just noticed that I had to fix some methods)).
- Matthias -
|