Blender V5.3
rna_internal_types.hh File Reference
#include <optional>
#include <string>
#include "BLI_map.hh"
#include "BLI_ustring.hh"
#include "BLI_vector_set.hh"
#include "DNA_listBase.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_types.hh"

Go to the source code of this file.

Classes

struct  blender::PropertyRNAOrID
struct  blender::RNAPropertyOverrideDiffContext
struct  blender::RNAPropertyOverrideApplyContext
struct  blender::PropertyRNAIdentifierGetter
struct  blender::ContainerRNA
struct  blender::FunctionRNA
struct  blender::PropertyRNA
struct  blender::BoolPropertyRNA
struct  blender::IntPropertyRNA
struct  blender::FloatPropertyRNA
struct  blender::StringPropertyRNA
struct  blender::EnumPropertyRNA
struct  blender::PointerPropertyRNA
struct  blender::CollectionPropertyRNA
struct  blender::StructRNA
struct  blender::BlenderRNA

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define CONTAINER_RNA_ID(cont)

Typedefs

using blender::UpdateFunc = void (*)(Main *bmain, Scene *active_scene, PointerRNA *ptr)
using blender::ContextPropUpdateFunc = void (*)(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
using blender::ContextUpdateFunc = void (*)(bContext *C, PointerRNA *ptr)
using blender::EditableFunc = int (*)(const PointerRNA *ptr, const char **r_info)
using blender::ItemEditableFunc = int (*)(const PointerRNA *ptr, int index)
using blender::IDPropertiesFunc = IDProperty **(*)(PointerRNA * ptr)
using blender::StructRefineFunc = StructRNA *(*)(PointerRNA * ptr)
using blender::PropUINameFunc
using blender::PropArrayLengthGetFunc = int (*)(const PointerRNA *ptr, int length[RNA_MAX_ARRAY_DIMENSION])
using blender::PropBooleanGetFunc = bool (*)(PointerRNA *ptr)
using blender::PropBooleanSetFunc = void (*)(PointerRNA *ptr, bool value)
using blender::PropBooleanArrayGetFunc = void (*)(PointerRNA *ptr, bool *values)
using blender::PropBooleanArraySetFunc = void (*)(PointerRNA *ptr, const bool *values)
using blender::PropIntGetFunc = int (*)(PointerRNA *ptr)
using blender::PropIntSetFunc = void (*)(PointerRNA *ptr, int value)
using blender::PropIntArrayGetFunc = void (*)(PointerRNA *ptr, int *values)
using blender::PropIntArraySetFunc = void (*)(PointerRNA *ptr, const int *values)
using blender::PropIntRangeFunc = void (*)(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax)
using blender::PropFloatGetFunc = float (*)(PointerRNA *ptr)
using blender::PropFloatSetFunc = void (*)(PointerRNA *ptr, float value)
using blender::PropFloatArrayGetFunc = void (*)(PointerRNA *ptr, float *values)
using blender::PropFloatArraySetFunc = void (*)(PointerRNA *ptr, const float *values)
using blender::PropFloatRangeFunc
using blender::PropStringGetFunc = void (*)(PointerRNA *ptr, char *value)
using blender::PropStringLengthFunc = int (*)(PointerRNA *ptr)
using blender::PropStringSetFunc = void (*)(PointerRNA *ptr, const char *value)
using blender::PropEnumGetFunc = int (*)(PointerRNA *ptr)
using blender::PropEnumSetFunc = void (*)(PointerRNA *ptr, int value)
using blender::PropEnumItemFunc
using blender::PropPointerGetFunc = PointerRNA (*)(PointerRNA *ptr)
using blender::PropPointerTypeFunc = StructRNA *(*)(PointerRNA * ptr)
using blender::PropPointerSetFunc = void (*)(PointerRNA *ptr, const PointerRNA value, ReportList *reports)
using blender::PropPointerPollFunc = bool (*)(PointerRNA *ptr, const PointerRNA value)
using blender::PropPointerPollFuncPy
using blender::PropCollectionBeginFunc = void (*)(CollectionPropertyIterator *iter, PointerRNA *ptr)
using blender::PropCollectionNextFunc = void (*)(CollectionPropertyIterator *iter)
using blender::PropCollectionEndFunc = void (*)(CollectionPropertyIterator *iter)
using blender::PropCollectionGetFunc = PointerRNA (*)(CollectionPropertyIterator *iter)
using blender::PropCollectionLengthFunc = int (*)(PointerRNA *ptr)
using blender::PropCollectionLookupIntFunc = bool (*)(PointerRNA *ptr, int key, PointerRNA *r_ptr)
using blender::PropCollectionLookupStringFunc
using blender::PropCollectionAssignIntFunc
using blender::PropBooleanGetFuncEx = bool (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropBooleanSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, bool value)
using blender::PropBooleanArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, bool *values)
using blender::PropBooleanArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const bool *values)
using blender::PropIntGetFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropIntSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int value)
using blender::PropIntArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int *values)
using blender::PropIntArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const int *values)
using blender::PropIntRangeFuncEx
using blender::PropFloatGetFuncEx = float (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropFloatSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, float value)
using blender::PropFloatArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, float *values)
using blender::PropFloatArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const float *values)
using blender::PropFloatRangeFuncEx
using blender::PropStringGetFuncEx = std::string (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropStringLengthFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropStringSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const std::string &value)
using blender::PropEnumGetFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop)
using blender::PropEnumSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int value)
using blender::PropBooleanGetTransformFunc = BooleanPropertyGetTransformFunc
using blender::PropBooleanSetTransformFunc = BooleanPropertySetTransformFunc
using blender::PropBooleanArrayGetTransformFunc = BooleanArrayPropertyGetTransformFunc
using blender::PropBooleanArraySetTransformFunc = BooleanArrayPropertySetTransformFunc
using blender::PropIntGetTransformFunc = IntPropertyGetTransformFunc
using blender::PropIntSetTransformFunc = IntPropertySetTransformFunc
using blender::PropIntArrayGetTransformFunc = IntArrayPropertyGetTransformFunc
using blender::PropIntArraySetTransformFunc = IntArrayPropertySetTransformFunc
using blender::PropFloatGetTransformFunc = FloatPropertyGetTransformFunc
using blender::PropFloatSetTransformFunc = FloatPropertySetTransformFunc
using blender::PropFloatArrayGetTransformFunc = FloatArrayPropertyGetTransformFunc
using blender::PropFloatArraySetTransformFunc = FloatArrayPropertySetTransformFunc
using blender::PropStringGetTransformFunc = StringPropertyGetTransformFunc
using blender::PropStringSetTransformFunc = StringPropertySetTransformFunc
using blender::PropEnumGetTransformFunc = EnumPropertyGetTransformFunc
using blender::PropEnumSetTransformFunc = EnumPropertySetTransformFunc
using blender::RNAPropOverrideDiff = void (*)(Main *bmain, RNAPropertyOverrideDiffContext &rnadiff_ctx)
using blender::RNAPropOverrideStore
using blender::RNAPropOverrideApply = bool (*)(Main *bmain, RNAPropertyOverrideApplyContext &rnaapply_ctx)

Enumerations

enum  blender::PropertyFlagIntern : int16_t {
  blender::PROP_INTERN_BUILTIN = (1 << 0) , blender::PROP_INTERN_RUNTIME = (1 << 1) , blender::PROP_INTERN_RAW_ACCESS = (1 << 2) , blender::PROP_INTERN_RAW_ARRAY = (1 << 3) ,
  blender::PROP_INTERN_FREE_POINTERS = (1 << 4) , blender::PROP_INTERN_PTR_OWNERSHIP_FORCED = (1 << 5) , blender::PROP_INTERN_PTR_ID_REFCOUNT_FORCED = (1 << 6) , blender::PROP_INTERN_RNA_DEFINITION = (1 << 7)
}

Functions

bool blender::is_dnatype_float_compat (const StringRef dnatype)
bool blender::is_dnatype_int_compat (const StringRef dnatype)
bool blender::is_dnatype_boolean_compat (const StringRef dnatype)
bool blender::is_dnatype_boolean_bitshift_fullrange_compat (const StringRef dnatype)

Macro Definition Documentation

◆ CONTAINER_RNA_ID

#define CONTAINER_RNA_ID ( cont)
Value:
(*(const char **)(((ContainerRNA *)(cont)) + 1))

Definition at line 775 of file rna_internal_types.hh.

Referenced by blender::RNA_def_float_percentage(), and blender::RNA_def_property().