40 if (!is_rna_valid()) {
41 legacy_te_.name =
IFACE_(
"(empty)");
94 tselem.
flag &= ~TSE_CHILDSEARCH;
108 tselem.
flag &= ~TSE_CLOSED;
113 for (
int index = 0; index < tot; index++) {
158 tselem.
flag &= ~TSE_CHILDSEARCH;
178 for (
int index = 0; index < tot; index++) {
193 for (
int index = 0; index < tot; index++) {
228 const size_t name_size =
sizeof(
char[20]);
#define BLI_STATIC_ASSERT(a, msg)
int char char int BLI_strcasecmp(const char *s1, const char *s2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
size_t BLI_snprintf(char *__restrict dst, size_t dst_maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
Read Guarded memory(de)allocation.
TreeElement * add_element(ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) const
PropertyRNA * get_property_rna() const override
TreeElementRNAArrayElement(TreeElement &legacy_te, PointerRNA &rna_ptr, int index)
const PointerRNA & get_pointer_rna() const
bool expand_poll(const SpaceOutliner &) const override
virtual PropertyRNA * get_property_rna() const
static constexpr int max_index
bool is_rna_valid() const
void expand(SpaceOutliner &space_outliner) const override
TreeElementRNAProperty(TreeElement &legacy_te, PointerRNA &rna_ptr, int index)
PropertyRNA * get_property_rna() const override
TreeElementRNAStruct(TreeElement &legacy_te, PointerRNA &rna_ptr)
void expand(SpaceOutliner &space_outliner) const override
void *(* MEM_callocN)(size_t len, const char *str)
@ TE_PRETEND_HAS_CHILDREN
TreeElementT * tree_element_cast(const TreeElement *te)
#define SEARCHING_OUTLINER(sov)
#define TSELEM_OPEN(telm, sv)
char * RNA_struct_name_get_alloc(PointerRNA *ptr, char *fixedbuf, int fixedlen, int *r_len)
PropertyType RNA_property_type(PropertyRNA *prop)
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
char RNA_property_array_item_char(PropertyRNA *prop, int index)
int RNA_property_flag(PropertyRNA *prop)
bool RNA_property_collection_lookup_int(PointerRNA *ptr, PropertyRNA *prop, int key, PointerRNA *r_ptr)
const char * RNA_struct_ui_name(const StructRNA *type)
int RNA_property_array_length(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_property_ui_name(const PropertyRNA *prop)
PropertyRNA * RNA_struct_iterator_property(StructRNA *type)
int RNA_property_collection_length(PointerRNA *ptr, PropertyRNA *prop)
TreeStoreElem * store_elem