PLearn 0.1
Static Public Member Functions
PLearn::StaticConvertEnumFromPyObject< U, true > Struct Template Reference

#include <PythonObjectWrapper.h>

List of all members.

Static Public Member Functions

static U convert (PyObject *x, bool print_traceback)

Detailed Description

template<class U>
struct PLearn::StaticConvertEnumFromPyObject< U, true >

Definition at line 993 of file PythonObjectWrapper.h.


Member Function Documentation

template<class U >
static U PLearn::StaticConvertEnumFromPyObject< U, true >::convert ( PyObject *  x,
bool  print_traceback 
) [inline, static]

Definition at line 995 of file PythonObjectWrapper.h.

References PLearn::StaticConvertEnumFromPyObject< U, is_enum >::convert().

    {
        return static_cast<U>(
            ConvertFromPyObject<int>::convert(x, print_traceback));
    }

Here is the call graph for this function:


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines