|
Blender V4.3
|
#include <rna_internal_types.hh>
Public Attributes | |
| PropertyRNAOrID * | prop_a = nullptr |
| PropertyRNAOrID * | prop_b = nullptr |
| eRNACompareMode | mode = RNA_EQ_COMPARE |
| IDOverrideLibrary * | liboverride = nullptr |
| const char * | rna_path = nullptr |
| size_t | rna_path_len = 0 |
| eRNAOverrideMatch | liboverride_flags = eRNAOverrideMatch(0) |
| int | comparison = 0 |
| eRNAOverrideMatchResult | report_flag = eRNAOverrideMatchResult(0) |
If liboverride is NULL, merely do comparison between prop_a and prop_b, following comparison mode given. If liboverride and rna_path are not NULL, it will add a new override operation for overridable properties that differ and have not yet been overridden (and set accordingly r_override_changed if given).
Definition at line 195 of file rna_internal_types.hh.
| int RNAPropertyOverrideDiffContext::comparison = 0 |
Results. 0 is matching, -1 if prop_a < prop_b, 1 if prop_a > prop_b. Note that for unquantifiable properties (e.g. pointers or collections), return value should be interpreted as a boolean (false == matching, true == not matching).
Definition at line 220 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| IDOverrideLibrary* RNAPropertyOverrideDiffContext::liboverride = nullptr |
LibOverride specific parameters.
Definition at line 210 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| eRNAOverrideMatch RNAPropertyOverrideDiffContext::liboverride_flags = eRNAOverrideMatch(0) |
Definition at line 213 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| eRNACompareMode RNAPropertyOverrideDiffContext::mode = RNA_EQ_COMPARE |
Definition at line 207 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| PropertyRNAOrID* RNAPropertyOverrideDiffContext::prop_a = nullptr |
General diffing parameters.
Definition at line 204 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| PropertyRNAOrID* RNAPropertyOverrideDiffContext::prop_b = nullptr |
Definition at line 205 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| eRNAOverrideMatchResult RNAPropertyOverrideDiffContext::report_flag = eRNAOverrideMatchResult(0) |
Additional flags reporting potential actions taken by the function (e.g. resetting forbidden overrides to their reference value).
Definition at line 223 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| const char* RNAPropertyOverrideDiffContext::rna_path = nullptr |
Definition at line 211 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().
| size_t RNAPropertyOverrideDiffContext::rna_path_len = 0 |
Definition at line 212 of file rna_internal_types.hh.
Referenced by rna_property_override_diff().