Blender  V3.3
Functions | Variables
BPy_UnaryFunction1DFloat.cpp File Reference
#include "BPy_UnaryFunction1DFloat.h"
#include "../BPy_Convert.h"
#include "../BPy_IntegrationType.h"
#include "../BPy_Interface1D.h"

Go to the source code of this file.

Functions

int UnaryFunction1DFloat_Init (PyObject *module)
 
static int UnaryFunction1DFloat___init__ (BPy_UnaryFunction1DFloat *self, PyObject *args, PyObject *kwds)
 
static void UnaryFunction1DFloat___dealloc__ (BPy_UnaryFunction1DFloat *self)
 
static PyObject * UnaryFunction1DFloat___repr__ (BPy_UnaryFunction1DFloat *self)
 
static PyObject * UnaryFunction1DFloat___call__ (BPy_UnaryFunction1DFloat *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (integration_type_doc, "The integration method.\n" "\n" ":type: :class:`IntegrationType`")
 
static PyObject * integration_type_get (BPy_UnaryFunction1DFloat *self, void *UNUSED(closure))
 
static int integration_type_set (BPy_UnaryFunction1DFloat *self, PyObject *value, void *UNUSED(closure))
 

Variables

static char UnaryFunction1DFloat___doc__ []
 
static PyGetSetDef BPy_UnaryFunction1DFloat_getseters []
 
PyTypeObject UnaryFunction1DFloat_Type
 

Function Documentation

◆ integration_type_get()

static PyObject* integration_type_get ( BPy_UnaryFunction1DFloat self,
void UNUSEDclosure 
)
static

◆ integration_type_set()

static int integration_type_set ( BPy_UnaryFunction1DFloat self,
PyObject *  value,
void UNUSEDclosure 
)
static

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( integration_type_doc  ,
"The integration method.\n" "\n" ":type: :class:`IntegrationType`"   
)

◆ UnaryFunction1DFloat___call__()

static PyObject* UnaryFunction1DFloat___call__ ( BPy_UnaryFunction1DFloat self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 90 of file BPy_UnaryFunction1DFloat.cpp.

References Interface1D_Type, and self.

◆ UnaryFunction1DFloat___dealloc__()

static void UnaryFunction1DFloat___dealloc__ ( BPy_UnaryFunction1DFloat self)
static

Definition at line 79 of file BPy_UnaryFunction1DFloat.cpp.

References UnaryFunction1D_Type.

◆ UnaryFunction1DFloat___init__()

static int UnaryFunction1DFloat___init__ ( BPy_UnaryFunction1DFloat self,
PyObject *  args,
PyObject *  kwds 
)
static

◆ UnaryFunction1DFloat___repr__()

static PyObject* UnaryFunction1DFloat___repr__ ( BPy_UnaryFunction1DFloat self)
static

Definition at line 85 of file BPy_UnaryFunction1DFloat.cpp.

References self.

◆ UnaryFunction1DFloat_Init()

int UnaryFunction1DFloat_Init ( PyObject *  module)

Definition at line 23 of file BPy_UnaryFunction1DFloat.cpp.

References module, and UnaryFunction1DFloat_Type.

Referenced by UnaryFunction1D_Init().

Variable Documentation

◆ BPy_UnaryFunction1DFloat_getseters

PyGetSetDef BPy_UnaryFunction1DFloat_getseters[]
static
Initial value:
= {
{"integration_type",
integration_type_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static int integration_type_set(BPy_UnaryFunction1DFloat *self, PyObject *value, void *UNUSED(closure))
static PyObject * integration_type_get(BPy_UnaryFunction1DFloat *self, void *UNUSED(closure))

Definition at line 139 of file BPy_UnaryFunction1DFloat.cpp.

◆ UnaryFunction1DFloat___doc__

char UnaryFunction1DFloat___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DFloat`\n"
"\n"
"Base class for unary functions (functors) that work on\n"
":class:`Interface1D` and return a float value.\n"
"\n"
".. method:: __init__()\n"
" __init__(integration_type)\n"
"\n"
" Builds a unary 1D function using the default constructor\n"
" or the integration method given as an argument.\n"
"\n"
" :arg integration_type: An integration method.\n"
" :type integration_type: :class:`IntegrationType`\n"

Definition at line 40 of file BPy_UnaryFunction1DFloat.cpp.

◆ UnaryFunction1DFloat_Type

PyTypeObject UnaryFunction1DFloat_Type

Definition at line 150 of file BPy_UnaryFunction1DFloat.cpp.

Referenced by UnaryFunction1DFloat_Init().