HDK
|
#include <STY_TargetMatchClosure.h>
Public Member Functions | |
STY_TargetMatchClosure (const STY_TargetMatchClosureHandle &parent_closure) | |
Constructor. More... | |
void | addOverrideBindingDataSource (const UT_StringHolder &entry_name, const STY_BindingDataSourceHandle &data_source) |
Registers an override binding data source for a given data name. More... | |
STY_BindingDataSourceHandle | findOverrideBindingDataSource (const UT_StringHolder &entry_name) const |
void | getBindingDataSourceNames (UT_StringArray &entry_names) const |
Returns all bindings in the closure (or any parent closures). More... | |
Public Member Functions inherited from UT_IntrusiveRefCounter< STY_TargetMatchClosure > | |
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_TargetMatchClosure > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Class containing information about data associated with a style subject match to a style target. It contains concrete data provided by the subject, such as data for script input argument binding, etc.
Definition at line 26 of file STY_TargetMatchClosure.h.
STY_TargetMatchClosure::STY_TargetMatchClosure | ( | const STY_TargetMatchClosureHandle & | parent_closure | ) |
Constructor.
void STY_TargetMatchClosure::addOverrideBindingDataSource | ( | const UT_StringHolder & | entry_name, |
const STY_BindingDataSourceHandle & | data_source | ||
) |
Registers an override binding data source for a given data name.
STY_BindingDataSourceHandle STY_TargetMatchClosure::findOverrideBindingDataSource | ( | const UT_StringHolder & | entry_name | ) | const |
Returns a data source given the data name for override script input argument binding.
void STY_TargetMatchClosure::getBindingDataSourceNames | ( | UT_StringArray & | entry_names | ) | const |
Returns all bindings in the closure (or any parent closures).