|
c++ python and rtti: msg#00167programming.swig
hello i have a base class Object and two derived class, Light an Camera. Every object has an unique ObjectID identifier, this is used in an Object Database for object retriving purpose, the object database contain only Light and camera objects. there is a function (that i want wrap with swig) Object *FindObjectByID(unsigned int id); In the c++ side i can query the type of object returned by FindObjectByID with RTTI mechanism, but how i can return the right type in python script? excuse me for my orrible english:-) bye _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problems with %rename (const): 00167, William S Fulton |
|---|---|
| Next by Date: | ANN: F2PY - Fortran to Python Interface Generator: 00167, Pearu Peterson |
| Previous by Thread: | swig on vxworksi: 00167, Ranjan, Ashish (GE Healthcare) |
| Next by Thread: | ANN: F2PY - Fortran to Python Interface Generator: 00167, Pearu Peterson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |