![]() |
Blender V2.61 - r43446
|
class to store list of python types More...
#include <PyTypeList.h>
Public Member Functions | |
| ~PyTypeList () | |
| destructor | |
| bool | in (PyTypeObject *type) |
| check, if type is in list | |
| void | add (PyTypeObject *type, const char *name) |
| add type to list | |
| bool | ready (void) |
| prepare types | |
| void | reg (PyObject *module) |
| register types to module | |
Protected Attributes | |
| std::auto_ptr< PyTypeListType > | m_list |
| pointer to list of types | |
class to store list of python types
Definition at line 45 of file PyTypeList.h.
| PyTypeList::~PyTypeList | ( | ) |
| void PyTypeList::add | ( | PyTypeObject * | type, |
| const char * | name | ||
| ) |
add type to list
Definition at line 57 of file PyTypeList.cpp.
References in(), m_list, and NULL.
Referenced by registerAllTypes().
| bool PyTypeList::in | ( | PyTypeObject * | type | ) |
check, if type is in list
Definition at line 44 of file PyTypeList.cpp.
Referenced by add(), Filter_setPrevious(), Image_setFilter(), Image_setSource(), imageToArray(), and Texture_setSource().
| bool PyTypeList::ready | ( | void | ) |
| void PyTypeList::reg | ( | PyObject * | module | ) |
register types to module
Definition at line 81 of file PyTypeList.cpp.
Referenced by initVideoTexture().
std::auto_ptr<PyTypeListType> PyTypeList::m_list [protected] |
pointer to list of types
Definition at line 65 of file PyTypeList.h.
Referenced by add(), in(), ready(), reg(), and ~PyTypeList().