Blender  V2.59
Classes | Defines | Typedefs | Functions
IDProp.h File Reference

Go to the source code of this file.

Classes

struct  BPy_IDProperty
struct  BPy_IDArray
struct  BPy_IDGroup_Iter

Defines

#define IDPROP_ITER_KEYS   0
#define IDPROP_ITER_ITEMS   1

Typedefs

typedef struct BPy_IDProperty BPy_IDProperty
typedef struct BPy_IDArray BPy_IDArray
typedef struct BPy_IDGroup_Iter BPy_IDGroup_Iter

Functions

PyObject * BPy_Wrap_IDProperty (struct ID *id, struct IDProperty *prop, struct IDProperty *parent)
PyObject * BPy_Wrap_GetKeys (struct IDProperty *prop)
PyObject * BPy_Wrap_GetValues (struct ID *id, struct IDProperty *prop)
PyObject * BPy_Wrap_GetItems (struct ID *id, struct IDProperty *prop)
int BPy_Wrap_SetMapItem (struct IDProperty *prop, PyObject *key, PyObject *val)
PyObject * BPy_IDGroup_WrapData (struct ID *id, struct IDProperty *prop)
const char * BPy_IDProperty_Map_ValidateAndCreate (const char *name, struct IDProperty *group, PyObject *ob)
void IDProp_Init_Types (void)

Detailed Description

Definition in file IDProp.h.


Define Documentation

#define IDPROP_ITER_ITEMS   1

Definition at line 71 of file IDProp.h.

Referenced by BPy_Group_Iter_Next(), and BPy_IDGroup_IterItems().

#define IDPROP_ITER_KEYS   0

Definition at line 70 of file IDProp.h.

Referenced by BPy_IDGroup_iter().


Typedef Documentation

typedef struct BPy_IDArray BPy_IDArray

Function Documentation

PyObject* BPy_IDGroup_WrapData ( struct ID id,
struct IDProperty prop 
)
const char* BPy_IDProperty_Map_ValidateAndCreate ( const char *  name,
struct IDProperty group,
PyObject *  ob 
)
PyObject* BPy_Wrap_GetItems ( struct ID id,
struct IDProperty prop 
)
PyObject* BPy_Wrap_GetKeys ( struct IDProperty prop)
PyObject* BPy_Wrap_GetValues ( struct ID id,
struct IDProperty prop 
)
PyObject* BPy_Wrap_IDProperty ( struct ID id,
struct IDProperty prop,
struct IDProperty parent 
)

Definition at line 885 of file IDProp.c.

References BPy_IDProperty::id, BPy_IDProperty::parent, and BPy_IDProperty::prop.

int BPy_Wrap_SetMapItem ( struct IDProperty prop,
PyObject *  key,
PyObject *  val 
)
void IDProp_Init_Types ( void  )

Definition at line 1353 of file IDProp.c.

Referenced by BPy_init_modules().