HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PyImath::selectable_postcall_policy_from_tuple< policy0, policy1, policy2 > Struct Template Reference

#include <PyImathUtil.h>

+ Inheritance diagram for PyImath::selectable_postcall_policy_from_tuple< policy0, policy1, policy2 >:

Static Public Member Functions

static PyObject * postcall (PyObject *args, PyObject *result)
 

Detailed Description

template<class policy0, class policy1, class policy2>
struct PyImath::selectable_postcall_policy_from_tuple< policy0, policy1, policy2 >

A special selectable postcall policy used in python wrappings.

It expects the initial result to be a touple where the first object represents an integer value 0, 1, 2 which corresponds to which of the templated call polices should be applied.

This postcall policy is modeled after a similar one defined in PyGeomParticleUtil.h of the PyGeomParticle project.

Definition at line 161 of file PyImathUtil.h.

Member Function Documentation

template<class policy0 , class policy1 , class policy2 >
static PyObject* PyImath::selectable_postcall_policy_from_tuple< policy0, policy1, policy2 >::postcall ( PyObject *  args,
PyObject *  result 
)
inlinestatic

Definition at line 164 of file PyImathUtil.h.


The documentation for this struct was generated from the following file: