Blender V4.3
BPy_BinaryPredicate0D.cpp File Reference
#include "BPy_BinaryPredicate0D.h"
#include "BPy_Convert.h"
#include "BPy_Interface0D.h"

Go to the source code of this file.

Functions

int BinaryPredicate0D_Init (PyObject *module)
 
 PyDoc_STRVAR (BinaryPredicate0D___doc__, "Base class for binary predicates working on :class:`Interface0D`\n" "objects. A BinaryPredicate0D is typically an ordering relation\n" "between two Interface0D objects. The predicate evaluates a relation\n" "between the two Interface0D instances and returns a boolean value (true\n" "or false). It is used by invoking the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Must be overload by inherited classes. It evaluates a relation\n" " between two Interface0D objects.\n" "\n" " :arg inter1: The first Interface0D object.\n" " :type inter1: :class:`Interface0D`\n" " :arg inter2: The second Interface0D object.\n" " :type inter2: :class:`Interface0D`\n" " :return: True or false.\n" " :rtype: bool\n")
 
static int BinaryPredicate0D___init__ (BPy_BinaryPredicate0D *self, PyObject *args, PyObject *kwds)
 
static void BinaryPredicate0D___dealloc__ (BPy_BinaryPredicate0D *self)
 
static PyObject * BinaryPredicate0D___repr__ (BPy_BinaryPredicate0D *self)
 
static PyObject * BinaryPredicate0D___call__ (BPy_BinaryPredicate0D *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (BinaryPredicate0D_name_doc, "The name of the binary 0D predicate.\n" "\n" ":type: str")
 
static PyObject * BinaryPredicate0D_name_get (BPy_BinaryPredicate0D *self, void *)
 

Variables

static PyGetSetDef BPy_BinaryPredicate0D_getseters []
 
PyTypeObject BinaryPredicate0D_Type
 

Function Documentation

◆ BinaryPredicate0D___call__()

static PyObject * BinaryPredicate0D___call__ ( BPy_BinaryPredicate0D * self,
PyObject * args,
PyObject * kwds )
static

◆ BinaryPredicate0D___dealloc__()

static void BinaryPredicate0D___dealloc__ ( BPy_BinaryPredicate0D * self)
static

Definition at line 76 of file BPy_BinaryPredicate0D.cpp.

References self.

◆ BinaryPredicate0D___init__()

static int BinaryPredicate0D___init__ ( BPy_BinaryPredicate0D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 64 of file BPy_BinaryPredicate0D.cpp.

References self.

◆ BinaryPredicate0D___repr__()

static PyObject * BinaryPredicate0D___repr__ ( BPy_BinaryPredicate0D * self)
static

Definition at line 83 of file BPy_BinaryPredicate0D.cpp.

References self.

◆ BinaryPredicate0D_Init()

int BinaryPredicate0D_Init ( PyObject * module)

Definition at line 23 of file BPy_BinaryPredicate0D.cpp.

References BinaryPredicate0D_Type, and module.

Referenced by Freestyle_Init().

◆ BinaryPredicate0D_name_get()

static PyObject * BinaryPredicate0D_name_get ( BPy_BinaryPredicate0D * self,
void *  )
static

Definition at line 123 of file BPy_BinaryPredicate0D.cpp.

References self.

◆ PyDoc_STRVAR() [1/2]

PyDoc_STRVAR ( BinaryPredicate0D___doc__ ,
"Base class for binary predicates working on :class:`Interface0D`\n" "objects. A BinaryPredicate0D is typically an ordering relation\n" "between two Interface0D objects. The predicate evaluates a relation\n" "between the two Interface0D instances and returns a boolean value (true\n" "or false). It is used by invoking the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Must be overload by inherited classes. It evaluates a relation\n" " between two Interface0D objects.\n" "\n" " :arg inter1: The first Interface0D object.\n" " :type inter1: :class:`Interface0D`\n" " :arg inter2: The second Interface0D object.\n" " :type inter2: :class:`Interface0D`\n" " :return: True or false.\n" " :rtype: bool\n"  )

◆ PyDoc_STRVAR() [2/2]

PyDoc_STRVAR ( BinaryPredicate0D_name_doc ,
"The name of the binary 0D predicate.\n" "\n" ":type: str"  )

Variable Documentation

◆ BinaryPredicate0D_Type

PyTypeObject BinaryPredicate0D_Type

Definition at line 139 of file BPy_BinaryPredicate0D.cpp.

Referenced by BinaryPredicate0D_Init().

◆ BPy_BinaryPredicate0D_getseters

PyGetSetDef BPy_BinaryPredicate0D_getseters[]
static
Initial value:
= {
{"name",
(setter) nullptr,
BinaryPredicate0D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * BinaryPredicate0D_name_get(BPy_BinaryPredicate0D *self, void *)

Definition at line 128 of file BPy_BinaryPredicate0D.cpp.