Blender  V3.3
Functions | Variables
BPy_UnaryFunction1D.cpp File Reference
#include "BPy_UnaryFunction1D.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DDouble.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DFloat.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DUnsigned.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DVec2f.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DVec3f.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.h"
#include "UnaryFunction1D/BPy_UnaryFunction1DVoid.h"

Go to the source code of this file.

Functions

int UnaryFunction1D_Init (PyObject *module)
 
static void UnaryFunction1D___dealloc__ (BPy_UnaryFunction1D *self)
 
static PyObject * UnaryFunction1D___repr__ (BPy_UnaryFunction1D *)
 
 PyDoc_STRVAR (UnaryFunction1D_name_doc, "The name of the unary 1D function.\n" "\n" ":type: str")
 
static PyObject * UnaryFunction1D_name_get (BPy_UnaryFunction1D *self, void *UNUSED(closure))
 

Variables

static char UnaryFunction1D___doc__ []
 
static PyGetSetDef BPy_UnaryFunction1D_getseters []
 
PyTypeObject UnaryFunction1D_Type
 

Function Documentation

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( UnaryFunction1D_name_doc  ,
"The name of the unary 1D function.\n" "\n" ":type: str  
)

◆ UnaryFunction1D___dealloc__()

static void UnaryFunction1D___dealloc__ ( BPy_UnaryFunction1D self)
static

Definition at line 71 of file BPy_UnaryFunction1D.cpp.

◆ UnaryFunction1D___repr__()

static PyObject* UnaryFunction1D___repr__ ( BPy_UnaryFunction1D )
static

Definition at line 76 of file BPy_UnaryFunction1D.cpp.

◆ UnaryFunction1D_Init()

int UnaryFunction1D_Init ( PyObject *  module)

◆ UnaryFunction1D_name_get()

static PyObject* UnaryFunction1D_name_get ( BPy_UnaryFunction1D self,
void UNUSEDclosure 
)
static

Definition at line 88 of file BPy_UnaryFunction1D.cpp.

Variable Documentation

◆ BPy_UnaryFunction1D_getseters

PyGetSetDef BPy_UnaryFunction1D_getseters[]
static
Initial value:
= {
{"name",
(setter) nullptr,
UnaryFunction1D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * UnaryFunction1D_name_get(BPy_UnaryFunction1D *self, void *UNUSED(closure))

Definition at line 93 of file BPy_UnaryFunction1D.cpp.

◆ UnaryFunction1D___doc__

char UnaryFunction1D___doc__[]
static
Initial value:
=
"Base class for Unary Functions (functors) working on\n"
":class:`Interface1D`. A unary function will be used by invoking\n"
"__call__() on an Interface1D. In Python, several different subclasses\n"
"of UnaryFunction1D are used depending on the types of functors' return\n"
"values. For example, you would inherit from a\n"
":class:`UnaryFunction1DDouble` if you wish to define a function that\n"
"returns a double value. Available UnaryFunction1D subclasses are:\n"
"\n"
"* :class:`UnaryFunction1DDouble`\n"
"* :class:`UnaryFunction1DEdgeNature`\n"
"* :class:`UnaryFunction1DFloat`\n"
"* :class:`UnaryFunction1DUnsigned`\n"
"* :class:`UnaryFunction1DVec2f`\n"
"* :class:`UnaryFunction1DVec3f`\n"
"* :class:`UnaryFunction1DVectorViewShape`\n"
"* :class:`UnaryFunction1DVoid`\n"

Definition at line 53 of file BPy_UnaryFunction1D.cpp.

◆ UnaryFunction1D_Type

PyTypeObject UnaryFunction1D_Type