|
HDK
|
Describes the way in which a single property override value is calculated. More...
#include <STY_Override.h>
Inheritance diagram for STY_Override:Public Member Functions | |
| STY_Override (const UT_JSONValue *json, const STY_LoadContext *load_context) | |
| STY_Override (const STY_ConstantHandle &value, const STY_OverrideScriptHandle &script) | |
| ~STY_Override () | |
| void | appendBindingDataNames (UT_StringArray &names) const |
| void | saveStyleSheets (UT_JSONValue *values, STY_TargetMatchClosureHandle *closures, const exint num_values, bool evaluate_scripts, bool allow_shared_scripts) const |
| Save this override set as JSON to a style sheet. More... | |
| bool | createOverrideValues (UT_Array< STY_ConstantHandle > &values, STY_TargetMatchClosureHandle *closures, const exint num_values) const |
| Creates an array of values from an array of closures. More... | |
| const STY_ConstantHandle & | getConstant () const |
| Direct access to the static override value. More... | |
| const STY_OverrideScriptHandle & | getScript () const |
| Direct access to the override script. More... | |
Public Member Functions inherited from UT_IntrusiveRefCounter< STY_Override > | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More... | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More... | |
| UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More... | |
| SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More... | |
| SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
| UT_NonCopyable ()=default | |
| ~UT_NonCopyable ()=default | |
| UT_NonCopyable (const UT_NonCopyable &)=delete | |
| UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_Override > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More... | |
Describes the way in which a single property override value is calculated.
Definition at line 25 of file STY_Override.h.
| STY_Override::STY_Override | ( | const UT_JSONValue * | json, |
| const STY_LoadContext * | load_context | ||
| ) |
| STY_Override::STY_Override | ( | const STY_ConstantHandle & | value, |
| const STY_OverrideScriptHandle & | script | ||
| ) |
| STY_Override::~STY_Override | ( | ) |
| void STY_Override::appendBindingDataNames | ( | UT_StringArray & | names | ) | const |
Appends data names that the script is interested in for its input argument binding.
| bool STY_Override::createOverrideValues | ( | UT_Array< STY_ConstantHandle > & | values, |
| STY_TargetMatchClosureHandle * | closures, | ||
| const exint | num_values | ||
| ) | const |
Creates an array of values from an array of closures.
|
inline |
Direct access to the static override value.
Definition at line 52 of file STY_Override.h.
|
inline |
Direct access to the override script.
Definition at line 55 of file STY_Override.h.
| void STY_Override::saveStyleSheets | ( | UT_JSONValue * | values, |
| STY_TargetMatchClosureHandle * | closures, | ||
| const exint | num_values, | ||
| bool | evaluate_scripts, | ||
| bool | allow_shared_scripts | ||
| ) | const |
Save this override set as JSON to a style sheet.