Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_access.h
| Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Lines | |||||
| void RNA_property_collection_begin(PointerRNA *ptr, | void RNA_property_collection_begin(PointerRNA *ptr, | ||||
| PropertyRNA *prop, | PropertyRNA *prop, | ||||
| CollectionPropertyIterator *iter); | CollectionPropertyIterator *iter); | ||||
| void RNA_property_collection_next(CollectionPropertyIterator *iter); | void RNA_property_collection_next(CollectionPropertyIterator *iter); | ||||
| void RNA_property_collection_skip(CollectionPropertyIterator *iter, int num); | void RNA_property_collection_skip(CollectionPropertyIterator *iter, int num); | ||||
| void RNA_property_collection_end(CollectionPropertyIterator *iter); | void RNA_property_collection_end(CollectionPropertyIterator *iter); | ||||
| int RNA_property_collection_length(PointerRNA *ptr, PropertyRNA *prop); | int RNA_property_collection_length(PointerRNA *ptr, PropertyRNA *prop); | ||||
| int RNA_property_collection_flag(PropertyRNA *prop); | |||||
| /** | /** | ||||
| * Return true when `RNA_property_collection_length(ptr, prop) == 0`, | * Return true when `RNA_property_collection_length(ptr, prop) == 0`, | ||||
| * without having to iterate over items in the collection (needed for some kinds of collections). | * without having to iterate over items in the collection (needed for some kinds of collections). | ||||
| */ | */ | ||||
| bool RNA_property_collection_is_empty(PointerRNA *ptr, PropertyRNA *prop); | bool RNA_property_collection_is_empty(PointerRNA *ptr, PropertyRNA *prop); | ||||
| int RNA_property_collection_lookup_index(PointerRNA *ptr, | int RNA_property_collection_lookup_index(PointerRNA *ptr, | ||||
| PropertyRNA *prop, | PropertyRNA *prop, | ||||
| const PointerRNA *t_ptr); | const PointerRNA *t_ptr); | ||||
| ▲ Show 20 Lines • Show All 487 Lines • Show Last 20 Lines | |||||