Back to index

salome-med  6.5.0
Static Public Member Functions
Binding< int > Struct Template Reference

#include <MEDMEM_SWIG_Templates.hxx>

List of all members.

Static Public Member Functions

static int Checker (PyObject *a)
static int Traducer (PyObject *a)
static PyObject * Traducer (int value)
static int Functor (PyObject *func, int value)

Detailed Description

template<>
struct Binding< int >

Definition at line 52 of file MEDMEM_SWIG_Templates.hxx.


Member Function Documentation

static int Binding< int >::Checker ( PyObject *  a) [inline, static]

Definition at line 54 of file MEDMEM_SWIG_Templates.hxx.

{ return PyInt_Check(a); }
static int Binding< int >::Functor ( PyObject *  func,
int  value 
) [inline, static]

Definition at line 57 of file MEDMEM_SWIG_Templates.hxx.

  { return Traducer( PyObject_CallFunction( func, (char *)"i", value )); }
static int Binding< int >::Traducer ( PyObject *  a) [inline, static]

Definition at line 55 of file MEDMEM_SWIG_Templates.hxx.

{ return (int) PyInt_AsLong(a); }
static PyObject* Binding< int >::Traducer ( int  value) [inline, static]

Definition at line 56 of file MEDMEM_SWIG_Templates.hxx.

{ return Py_BuildValue("i", value ); }

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