library of assembled shared sources |
http://lass.cocamware.com |
#include <pyobject_plus.h>
Static Public Member Functions | |
static PyObject * | build (const EnumType iv) |
static int | get (PyObject *iv, EnumType &ov) |
When you want to export enumeration types, you need to specialize PyExportTraits for it. This structure will help you
enum MyEnumeration { meFoo, meBar, meFuz }; namespace lass { namespace python { template <> struct PyExportTraits<MyEnumeration>: public PyExportTraitsEnum<MyEnumeration> {}; } }
Definition at line 383 of file pyobject_plus.h.
static PyObject* lass::python::PyExportTraitsEnum< EnumType, IntegerType >::build | ( | const EnumType | iv | ) | [inline, static] |
static int lass::python::PyExportTraitsEnum< EnumType, IntegerType >::get | ( | PyObject * | iv, | |
EnumType & | ov | |||
) | [inline, static] |
Generated on Mon Nov 10 14:22:14 2008 for Library of Assembled Shared Sources by 1.5.7.1 |