22 #include "../outliner_intern.hh"
40 legacy_te_.name =
IFACE_(
"(empty)");
106 tree_element_cast<TreeElementRNAProperty>(
117 for (
int index = 0; index < tot; index++) {
184 for (
int index = 0; index < tot; index++) {
200 for (
int index = 0; index < tot; index++) {
236 MEM_callocN(
sizeof(
char[20]),
"OutlinerRNAArrayName"));
251 return parent_prop_te ? parent_prop_te->
getPropertyRNA() :
nullptr;
#define BLI_STATIC_ASSERT(a, msg)
int BLI_strcasecmp(const char *s1, const char *s2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
Read Guarded memory(de)allocation.
TreeElementRNAArrayElement(TreeElement &legacy_te, PointerRNA &rna_ptr, int index)
PropertyRNA * getPropertyRNA() const override
const PointerRNA & getPointerRNA() const
bool isExpandValid() const override
bool expandPoll(const SpaceOutliner &) const override
constexpr static int max_index
virtual PropertyRNA * getPropertyRNA() const
void expand(SpaceOutliner &space_outliner) const override
TreeElementRNAProperty(TreeElement &legacy_te, PointerRNA &rna_ptr, int index)
PropertyRNA * getPropertyRNA() 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)
TreeElement * outliner_add_element(SpaceOutliner *space_outliner, ListBase *lb, void *idv, TreeElement *parent, short type, short index, const bool expand)
#define SEARCHING_OUTLINER(sov)
@ TE_PRETEND_HAS_CHILDREN
#define TSELEM_OPEN(telm, sv)
char * RNA_struct_name_get_alloc(PointerRNA *ptr, char *fixedbuf, int fixedlen, int *r_len)
const char * RNA_struct_ui_name(const StructRNA *type)
PropertyType RNA_property_type(PropertyRNA *prop)
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_collection_lookup_int(PointerRNA *ptr, PropertyRNA *prop, int key, PointerRNA *r_ptr)
char RNA_property_array_item_char(PropertyRNA *prop, int index)
int RNA_property_flag(PropertyRNA *prop)
int RNA_property_array_length(PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_struct_iterator_property(StructRNA *type)
int RNA_property_collection_length(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_property_ui_name(const PropertyRNA *prop)
struct TreeElement * parent
TreeStoreElem * store_elem