Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_access.h
| Show First 20 Lines • Show All 1,145 Lines • ▼ Show 20 Lines | |||||
| struct PropertyElemRNA { | struct PropertyElemRNA { | ||||
| PropertyElemRNA *next, *prev; | PropertyElemRNA *next, *prev; | ||||
| PointerRNA ptr; | PointerRNA ptr; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| int index; | int index; | ||||
| }; | }; | ||||
| bool RNA_path_resolve_elements(PointerRNA *ptr, const char *path, struct ListBase *r_elements); | bool RNA_path_resolve_elements(PointerRNA *ptr, const char *path, struct ListBase *r_elements); | ||||
| struct ID *RNA_find_real_ID_and_path(struct Main *bmain, struct ID *id, const char **r_path); | |||||
| char *RNA_path_from_ID_to_struct(PointerRNA *ptr); | char *RNA_path_from_ID_to_struct(PointerRNA *ptr); | ||||
| char *RNA_path_from_real_ID_to_struct(struct Main *bmain, PointerRNA *ptr, struct ID **r_real); | |||||
| char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop); | char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop); | ||||
| char *RNA_path_from_ID_to_property_index(PointerRNA *ptr, | char *RNA_path_from_ID_to_property_index(PointerRNA *ptr, | ||||
| PropertyRNA *prop, | PropertyRNA *prop, | ||||
| int array_dim, | int array_dim, | ||||
| int index); | int index); | ||||
| char *RNA_path_from_real_ID_to_property_index(struct Main *bmain, | |||||
| PointerRNA *ptr, | |||||
| PropertyRNA *prop, | |||||
| int array_dim, | |||||
| int index, | |||||
| struct ID **r_real); | |||||
| char *RNA_path_resolve_from_type_to_property(struct PointerRNA *ptr, | char *RNA_path_resolve_from_type_to_property(struct PointerRNA *ptr, | ||||
| struct PropertyRNA *prop, | struct PropertyRNA *prop, | ||||
| const struct StructRNA *type); | const struct StructRNA *type); | ||||
| char *RNA_path_full_ID_py(struct ID *id); | char *RNA_path_full_ID_py(struct Main *bmain, struct ID *id); | ||||
| char *RNA_path_full_struct_py(struct PointerRNA *ptr); | char *RNA_path_full_struct_py(struct Main *bmain, struct PointerRNA *ptr); | ||||
| char *RNA_path_full_property_py_ex(PointerRNA *ptr, | char *RNA_path_full_property_py_ex( | ||||
| PropertyRNA *prop, | struct Main *bmain, PointerRNA *ptr, PropertyRNA *prop, int index, bool use_fallback); | ||||
| int index, | char *RNA_path_full_property_py(struct Main *bmain, | ||||
| bool use_fallback); | struct PointerRNA *ptr, | ||||
| char *RNA_path_full_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | struct PropertyRNA *prop, | ||||
| int index); | |||||
| char *RNA_path_struct_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | char *RNA_path_struct_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | ||||
| char *RNA_path_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | char *RNA_path_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | ||||
| /* Quick name based property access | /* Quick name based property access | ||||
| * | * | ||||
| * These are just an easier way to access property values without having to | * These are just an easier way to access property values without having to | ||||
| * call RNA_struct_find_property. The names have to exist as RNA properties | * call RNA_struct_find_property. The names have to exist as RNA properties | ||||
| * for the type in the pointer, if they do not exist an error will be printed. | * for the type in the pointer, if they do not exist an error will be printed. | ||||
| ▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines | |||||