Blender V2.61 - r43446
Functions

BKE_property.h File Reference

Go to the source code of this file.

Functions

void free_property (struct bProperty *prop)
void free_properties (struct ListBase *lb)
struct bPropertycopy_property (struct bProperty *prop)
void copy_properties (struct ListBase *lbn, struct ListBase *lbo)
void init_property (struct bProperty *prop)
struct bPropertynew_property (int type)
void unique_property (struct bProperty *first, struct bProperty *prop, int force)
struct bPropertyget_ob_property (struct Object *ob, const char *name)
void set_ob_property (struct Object *ob, struct bProperty *propc)
int compare_property (struct bProperty *prop, const char *str)
void set_property (struct bProperty *prop, const char *str)
void add_property (struct bProperty *prop, const char *str)
void set_property_valstr (struct bProperty *prop, char *str)
void cp_property (struct bProperty *prop1, struct bProperty *prop2)

Detailed Description

Definition in file BKE_property.h.


Function Documentation

void add_property ( struct bProperty prop,
const char *  str 
)

Definition at line 264 of file property.c.

References bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, and bProperty::type.

Referenced by ply_read().

int compare_property ( struct bProperty prop,
const char *  str 
)
void copy_properties ( struct ListBase lbn,
struct ListBase lbo 
)
struct bProperty* copy_property ( struct bProperty prop) [read]
void cp_property ( struct bProperty prop1,
struct bProperty prop2 
)

Definition at line 305 of file property.c.

References set_property(), set_property_valstr(), and str.

void free_properties ( struct ListBase lb)

Definition at line 56 of file property.c.

References BLI_remlink(), ListBase::first, and free_property().

Referenced by copy_properties(), free_object(), and game_property_clear_exec().

void free_property ( struct bProperty prop)

Definition at line 48 of file property.c.

References bProperty::data, MEM_freeN(), and bProperty::poin.

Referenced by free_properties(), game_property_remove(), and set_ob_property().

struct bProperty* get_ob_property ( struct Object ob,
const char *  name 
) [read]
void init_property ( struct bProperty prop)
struct bProperty* new_property ( int  type) [read]

Definition at line 116 of file property.c.

References init_property(), MEM_callocN(), bProperty::name, and bProperty::type.

Referenced by game_property_new().

void set_ob_property ( struct Object ob,
struct bProperty propc 
)
void set_property ( struct bProperty prop,
const char *  str 
)
void set_property_valstr ( struct bProperty prop,
char *  str 
)
void unique_property ( struct bProperty first,
struct bProperty prop,
int  force 
)