Blender
V3.3
|
#include <rna_internal_types.h>
Public Attributes | |
ContainerRNA | cont |
const char * | identifier |
void * | py_type |
void * | blender_type |
int | flag |
const EnumPropertyItem * | prop_tag_defines |
const char * | name |
const char * | description |
const char * | translation_context |
int | icon |
PropertyRNA * | nameproperty |
PropertyRNA * | iteratorproperty |
struct StructRNA * | base |
struct StructRNA * | nested |
StructRefineFunc | refine |
StructPathFunc | path |
StructRegisterFunc | reg |
StructUnregisterFunc | unreg |
StructInstanceFunc | instance |
IDPropertiesFunc | idproperties |
ListBase | functions |
Definition at line 502 of file rna_internal_types.h.
struct StructRNA* StructRNA::base |
Struct this is derived from.
Definition at line 536 of file rna_internal_types.h.
Referenced by rna_def_property_lookup_string_func(), RNA_def_struct_ptr(), rna_generate_function_prototypes(), rna_generate_header(), rna_generate_header_class_cpp(), rna_generate_internal_property_prototypes(), rna_generate_struct(), RNA_pointer_recast(), RNA_struct_available_or_report(), RNA_struct_find_function(), RNA_struct_is_a(), and RNA_struct_type_find_property().
void* StructRNA::blender_type |
Definition at line 512 of file rna_internal_types.h.
Referenced by RNA_struct_blender_type_get(), and RNA_struct_blender_type_set().
ContainerRNA StructRNA::cont |
Definition at line 504 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_exit(), RNA_free(), rna_generate_external_property_prototypes(), rna_generate_internal_property_prototypes(), rna_generate_struct(), rna_generate_struct_rna_prototypes(), RNA_init(), rna_sort(), RNA_struct_free(), RNA_struct_type_find_property_no_base(), and RNA_struct_type_properties().
const char* StructRNA::description |
Definition at line 523 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_def_struct_ui_text(), and rna_generate_struct().
int StructRNA::flag |
Definition at line 515 of file rna_internal_types.h.
Referenced by rna_brna_structs_add(), RNA_def_property_struct_runtime(), RNA_def_struct_clear_flag(), RNA_def_struct_flag(), rna_def_struct_function_impl_cpp(), RNA_def_struct_identifier(), RNA_def_struct_ptr(), rna_generate_struct(), RNA_init(), RNA_property_enum_items_ex(), RNA_property_enum_items_gettexted_all(), and RNA_struct_free().
ListBase StructRNA::functions |
Definition at line 570 of file rna_internal_types.h.
Referenced by rna_def_function(), RNA_def_function(), RNA_def_struct_ptr(), RNA_free(), rna_generate_function_prototypes(), rna_generate_static_function_prototypes(), rna_generate_struct(), RNA_struct_find_function(), RNA_struct_free(), and RNA_struct_type_functions().
int StructRNA::icon |
Definition at line 527 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_def_struct_ui_icon(), and rna_generate_struct().
const char* StructRNA::identifier |
Definition at line 507 of file rna_internal_types.h.
Referenced by cmp_struct(), RNA_boolean_get(), RNA_boolean_get_array(), RNA_boolean_set(), RNA_boolean_set_array(), rna_brna_structs_add(), RNA_collection_add(), RNA_collection_begin(), RNA_collection_clear(), RNA_collection_is_empty(), RNA_collection_length(), RNA_def_function(), rna_def_function_funcs(), rna_def_function_funcs_header(), rna_def_function_wrapper_funcs(), RNA_def_property_array(), rna_def_property_begin_func(), RNA_def_property_boolean_array_default(), RNA_def_property_boolean_default(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), rna_def_property_end_func(), RNA_def_property_enum_default(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_native_type(), RNA_def_property_enum_sdna(), RNA_def_property_float_array_default(), RNA_def_property_float_default(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), rna_def_property_funcs(), rna_def_property_funcs_header(), rna_def_property_funcs_header_cpp(), rna_def_property_funcs_impl_cpp(), rna_def_property_get_func(), RNA_def_property_int_array_default(), RNA_def_property_int_default(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), rna_def_property_length_func(), rna_def_property_lookup_int_func(), rna_def_property_lookup_string_func(), RNA_def_property_multi_array(), rna_def_property_next_func(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), rna_def_property_search_func(), rna_def_property_set_func(), RNA_def_property_string_default(), RNA_def_property_string_funcs(), RNA_def_property_string_maxlength(), RNA_def_property_string_sdna(), RNA_def_property_string_search_func(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_scale_type(), rna_def_property_wrapper_funcs(), rna_def_struct_function_call_impl_cpp(), rna_def_struct_function_impl_cpp(), RNA_def_struct_identifier(), RNA_def_struct_identifier_no_struct_map(), RNA_def_struct_name_property(), RNA_def_struct_nested(), RNA_def_struct_ptr(), RNA_def_struct_ui_text(), RNA_enum_get(), RNA_enum_is_equal(), RNA_enum_set(), RNA_enum_set_identifier(), rna_find_dna_type(), rna_find_struct(), rna_find_type(), RNA_float_get(), RNA_float_get_array(), RNA_float_set(), RNA_float_set_array(), rna_generate_blender(), rna_generate_external_property_prototypes(), rna_generate_function_prototypes(), rna_generate_header(), rna_generate_header_class_cpp(), rna_generate_header_cpp(), rna_generate_internal_property_prototypes(), rna_generate_parameter_prototypes(), rna_generate_property(), rna_generate_static_parameter_prototypes(), rna_generate_struct(), rna_generate_struct_rna_prototypes(), RNA_init(), RNA_int_get(), RNA_int_get_array(), RNA_int_set(), RNA_int_set_array(), RNA_pointer_add(), RNA_pointer_get(), RNA_pointer_set(), RNA_property_collection_add(), RNA_property_collection_remove(), RNA_property_pointer_add(), RNA_property_pointer_remove(), RNA_property_pointer_set(), RNA_string_get(), RNA_string_get_alloc(), RNA_string_length(), RNA_string_set(), RNA_struct_available_or_report(), and RNA_struct_free().
IDPropertiesFunc StructRNA::idproperties |
Return the location of the struct's pointer to the root group IDProperty.
Definition at line 567 of file rna_internal_types.h.
Referenced by RNA_def_struct_idprops_func(), rna_generate_struct(), and RNA_struct_idprops_check().
StructInstanceFunc StructRNA::instance |
Optionally support reusing Python instances for this type.
Without this, an operator class created for wmOperatorType.invoke (for example) would have a different instance passed to the wmOperatorType.modal callback. So any variables assigned to self
from Python would not be available to other callbacks.
Being able to access the instance also has the advantage that we can invalidate the Python instance when the data has been removed, see: BPY_DECREF_RNA_INVALIDATE so accessing the variables from Python raises an exception instead of crashing.
Definition at line 564 of file rna_internal_types.h.
Referenced by RNA_def_struct_register_funcs(), and rna_generate_struct().
PropertyRNA* StructRNA::iteratorproperty |
Definition at line 533 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), and rna_generate_struct().
const char* StructRNA::name |
Definition at line 521 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_def_struct_ui_text(), rna_generate_header(), rna_generate_header_class_cpp(), and rna_generate_struct().
PropertyRNA* StructRNA::nameproperty |
Definition at line 530 of file rna_internal_types.h.
Referenced by rna_def_property_lookup_string_func(), RNA_def_struct_name_property(), RNA_def_struct_ptr(), rna_generate_struct(), and RNA_property_collection_lookup_string_index().
struct StructRNA* StructRNA::nested |
Definition at line 542 of file rna_internal_types.h.
Referenced by RNA_def_struct_nested(), rna_generate_struct(), and RNA_path_from_ID_to_struct().
StructPathFunc StructRNA::path |
Definition at line 548 of file rna_internal_types.h.
Referenced by RNA_def_struct_path_func(), rna_generate_struct(), and RNA_path_from_ID_to_struct().
const EnumPropertyItem* StructRNA::prop_tag_defines |
Definition at line 518 of file rna_internal_types.h.
Referenced by RNA_def_struct_property_tags().
void* StructRNA::py_type |
Python type, this is a subtype of pyrna_struct_Type but used so each struct can have its own type which is useful for subclassing RNA.
Definition at line 511 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_struct_py_type_get(), and RNA_struct_py_type_set().
StructRefineFunc StructRNA::refine |
Definition at line 545 of file rna_internal_types.h.
Referenced by RNA_def_struct_refine_func(), rna_generate_struct(), RNA_id_pointer_create(), and RNA_pointer_create().
StructRegisterFunc StructRNA::reg |
Definition at line 551 of file rna_internal_types.h.
Referenced by RNA_def_struct_register_funcs(), and rna_generate_struct().
const char* StructRNA::translation_context |
Definition at line 525 of file rna_internal_types.h.
Referenced by RNA_def_struct_ptr(), RNA_def_struct_translation_context(), and rna_generate_struct().
StructUnregisterFunc StructRNA::unreg |
Definition at line 552 of file rna_internal_types.h.
Referenced by RNA_def_struct_register_funcs(), and rna_generate_struct().