Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_idcode.h
| Show All 33 Lines | |||||
| const char *BKE_idcode_to_name(int code); | const char *BKE_idcode_to_name(int code); | ||||
| const char *BKE_idcode_to_name_plural(int code); | const char *BKE_idcode_to_name_plural(int code); | ||||
| const char *BKE_idcode_to_translation_context(int code); | const char *BKE_idcode_to_translation_context(int code); | ||||
| int BKE_idcode_from_name(const char *name); | int BKE_idcode_from_name(const char *name); | ||||
| bool BKE_idcode_is_linkable(int code); | bool BKE_idcode_is_linkable(int code); | ||||
| bool BKE_idcode_is_valid(int code); | bool BKE_idcode_is_valid(int code); | ||||
| int BKE_idcode_to_idfilter(const int idcode); | |||||
| int BKE_idcode_from_idfilter(const int idfilter); | |||||
| /** | /** | ||||
| * Return an ID code and steps the index forward 1. | * Return an ID code and steps the index forward 1. | ||||
| * | * | ||||
| * \param index start as 0. | * \param index start as 0. | ||||
| * \return the code, 0 when all codes have been returned. | * \return the code, 0 when all codes have been returned. | ||||
| */ | */ | ||||
| int BKE_idcode_iter_step(int *index); | int BKE_idcode_iter_step(int *index); | ||||
| #endif | #endif | ||||