[C++-sig] Re: pyste and C++ namespaces]

Jeff Holle jeff.holle at verizon.net
Tue Jan 27 20:58:02 CET 2004


I realize presently that I am mistaken about this.
In experimenting with a simple example, namespaces are handle elegantly.
So the generated wrapper class is caused by other things in "real" code, 
which I will endeavor to avoid.

In further pyste experimenting, I put my C++ code in a namespace.

First surprise was that I needed to decorate my class name in the 
*.pyste file with its housed namespace.
Doing this allowed pyste to run successfully, but.

Second surprise that the generated python interface class now contains a 
"wrapper" class.  Is this necessary?  The class is easily accessible by 
opening the namespace, or not, depending on the C++ choice.








More information about the Cplusplus-sig mailing list