Blender V4.3
BPy_UnaryPredicate0D.cpp File Reference

Go to the source code of this file.

Functions

int UnaryPredicate0D_Init (PyObject *module)
 
 PyDoc_STRVAR (UnaryPredicate0D___doc__, "Base class for unary predicates that work on\n" ":class:`Interface0DIterator`. A UnaryPredicate0D is a functor that\n" "evaluates a condition on an Interface0DIterator and returns true or\n" "false depending on whether this condition is satisfied or not. The\n" "UnaryPredicate0D is used by invoking its __call__() method. Any\n" "inherited class must overload the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(it)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg it: The Interface0DIterator pointing onto the Interface0D at\n" " which we wish to evaluate the predicate.\n" " :type it: :class:`Interface0DIterator`\n" " :return: True if the condition is satisfied, false otherwise.\n" " :rtype: bool\n")
 
static int UnaryPredicate0D___init__ (BPy_UnaryPredicate0D *self, PyObject *args, PyObject *kwds)
 
static void UnaryPredicate0D___dealloc__ (BPy_UnaryPredicate0D *self)
 
static PyObject * UnaryPredicate0D___repr__ (BPy_UnaryPredicate0D *self)
 
static PyObject * UnaryPredicate0D___call__ (BPy_UnaryPredicate0D *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (UnaryPredicate0D_name_doc, "The name of the unary 0D predicate.\n" "\n" ":type: str")
 
static PyObject * UnaryPredicate0D_name_get (BPy_UnaryPredicate0D *self, void *)
 

Variables

static PyGetSetDef BPy_UnaryPredicate0D_getseters []
 
PyTypeObject UnaryPredicate0D_Type
 

Function Documentation

◆ PyDoc_STRVAR() [1/2]

PyDoc_STRVAR ( UnaryPredicate0D___doc__ ,
"Base class for unary predicates that work on\n" ":class:`Interface0DIterator`. A UnaryPredicate0D is a functor that\n" "evaluates a condition on an Interface0DIterator and returns true or\n" "false depending on whether this condition is satisfied or not. The\n" "UnaryPredicate0D is used by invoking its __call__() method. Any\n" "inherited class must overload the __call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(it)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg it: The Interface0DIterator pointing onto the Interface0D at\n" " which we wish to evaluate the predicate.\n" " :type it: :class:`Interface0DIterator`\n" " :return: True if the condition is satisfied,
false otherwise.\n" " :rtype:bool\n"  )

◆ PyDoc_STRVAR() [2/2]

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

◆ UnaryPredicate0D___call__()

static PyObject * UnaryPredicate0D___call__ ( BPy_UnaryPredicate0D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 98 of file BPy_UnaryPredicate0D.cpp.

References Interface0DIterator_Type, PyBool_from_bool(), and self.

◆ UnaryPredicate0D___dealloc__()

static void UnaryPredicate0D___dealloc__ ( BPy_UnaryPredicate0D * self)
static

Definition at line 87 of file BPy_UnaryPredicate0D.cpp.

References self.

◆ UnaryPredicate0D___init__()

static int UnaryPredicate0D___init__ ( BPy_UnaryPredicate0D * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 75 of file BPy_UnaryPredicate0D.cpp.

References self.

◆ UnaryPredicate0D___repr__()

static PyObject * UnaryPredicate0D___repr__ ( BPy_UnaryPredicate0D * self)
static

Definition at line 93 of file BPy_UnaryPredicate0D.cpp.

References self.

◆ UnaryPredicate0D_Init()

int UnaryPredicate0D_Init ( PyObject * module)

Definition at line 25 of file BPy_UnaryPredicate0D.cpp.

References FalseUP0D_Type, module, TrueUP0D_Type, and UnaryPredicate0D_Type.

Referenced by Freestyle_Init().

◆ UnaryPredicate0D_name_get()

static PyObject * UnaryPredicate0D_name_get ( BPy_UnaryPredicate0D * self,
void *  )
static

Definition at line 141 of file BPy_UnaryPredicate0D.cpp.

References self.

Variable Documentation

◆ BPy_UnaryPredicate0D_getseters

PyGetSetDef BPy_UnaryPredicate0D_getseters[]
static
Initial value:
= {
{"name",
(setter) nullptr,
UnaryPredicate0D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * UnaryPredicate0D_name_get(BPy_UnaryPredicate0D *self, void *)

Definition at line 146 of file BPy_UnaryPredicate0D.cpp.

◆ UnaryPredicate0D_Type

PyTypeObject UnaryPredicate0D_Type