39 void delete_self_with_data()
override
68 MEM_new<MetaDataImplicitSharing>(__func__, this->
metadata_ptr));
74 MEM_new<MetaDataImplicitSharing>(__func__, this->
metadata_ptr));
101 const size_t value_maxncpy)
#define IDP_string_get(prop)
ID and Library types, which are fundamental for SDNA.
friend class ImplicitSharingPtr
std::unique_ptr< IDProperty, IDPropertyDeleter > create(StringRef prop_name, int32_t value, eIDPropertyFlag flags={})
Allocate a new IDProperty of type IDP_INT, set its name and value.
std::unique_ptr< IDProperty, IDPropertyDeleter > create_group(StringRef prop_name, eIDPropertyFlag flags={})
Allocate a new IDProperty of type IDP_GROUP.
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void IDP_FreeFromGroup(IDProperty *group, IDProperty *prop) ATTR_NONNULL()
void(*)(const char *field, const char *value, void *userdata) IMBMetadataForeachCb
bool IDP_AddToGroup(IDProperty *group, IDProperty *prop) ATTR_NONNULL()
IDProperty * IDP_CopyProperty(const IDProperty *prop) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
IDProperty * IDP_GetPropertyFromGroup(const IDProperty *prop, StringRef name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void IMB_metadata_ensure(IDProperty **metadata)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
void IDP_AssignString(IDProperty *prop, const char *st) ATTR_NONNULL()
void IDP_FreeProperty(IDProperty *prop)
void IMB_metadata_copy(ImBuf *ibuf_dst, const ImBuf *ibuf_src)
void IMB_metadata_foreach(const ImBuf *ibuf, IMBMetadataForeachCb callback, void *userdata)
bool IMB_metadata_get_field(const IDProperty *metadata, const char *key, char *value, size_t value_maxncpy)
void IMB_metadata_set_field(IDProperty *metadata, const char *key, const char *value)
void IMB_metadata_free(IDProperty *metadata)
IDProperty * metadata_ptr
IDProperty * metadata_for_write()
ImplicitSharingPtr metadata_sharing_info
const IDProperty * metadata() const
void assign_metadata(const IDProperty *metadata, ImplicitSharingPtr<> sharing_info)