Re: [C++-sig] custom r-value converters

2010-03-29 Thread Nathan Stewart
Ok some follow up - I now rip through my exposed classes looking for String_mgr typed properties to create custom get/setters for.Then, I set the following for that property: for c in classes: for property in c.public_members: if 'CustomString' in property.decl_string:

[C++-sig] Conversion of python files to C++ ostreams

2010-03-29 Thread Christopher Bruns
I am trying to coax boost.python to automatically convert python files to C++ std::ostreams, for methods that take arguments of type "std::ostream&". I have made some progress, and I could use some advice on how to go further. I created a derived class of std::ostream, called FilestarOstream, whi

Re: [C++-sig] custom r-value converters

2010-03-29 Thread Roman Yakovenko
On Mon, Mar 29, 2010 at 10:08 AM, Nathan Stewart wrote: > Ok some follow up - I now rip through my exposed classes looking for > String_mgr typed properties to create custom get/setters for.Then, I set the > following for that property: > > for c in classes: >     for property in c.public_members:

Re: [C++-sig] Conversion of python files to C++ ostreams

2010-03-29 Thread Jim Bosch
On Mon, 2010-03-29 at 13:28 -0700, Christopher Bruns wrote: > I am trying to coax boost.python to automatically convert python files > to C++ std::ostreams, for methods that take arguments of type > "std::ostream&". I have made some progress, and I could use some > advice on how to go further. >