HDK
|
#include <STY_SubjectSelf.h>
Public Member Functions | |
STY_SubjectSelf () | |
STY_SubjectSelf (const char *pre_filter_style_sheet, const char *post_filter_style_sheet) | |
STY_SubjectSelf (const STY_Subject &underlying_subject) | |
STY_StyleSheetHandle | getPreFilterStyleSheet () const override |
STY_StyleSheetHandle | getPostFilterStyleSheet () const override |
STY_TargetMatchStatus | matchesStyleTarget (const STY_TargetHandle &target) const override |
Returns the information wheter the subject matches the given target. More... | |
STY_BindingDataSourceHandle | getOverrideBindingDataSource (const UT_StringHolder &data_name) const override |
Public Member Functions inherited from STY_Subject | |
virtual | ~STY_Subject () |
virtual UT_StringHolder | getSourceLocation () const |
Public Member Functions inherited from UT_IntrusiveRefCounter< STY_Subject > | |
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 STY_Subject | |
STY_TargetMatchStatus | matchesPathHelper (const UT_StringRef &path, const STY_TargetHandle &target, char separator) const |
Helper for handling path requirement. More... | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_Subject > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
=========================================================================== Subject that matches self targets and leaves all other targets intact for its children to match.
Definition at line 21 of file STY_SubjectSelf.h.
STY_SubjectSelf::STY_SubjectSelf | ( | ) |
STY_SubjectSelf::STY_SubjectSelf | ( | const char * | pre_filter_style_sheet, |
const char * | post_filter_style_sheet | ||
) |
STY_SubjectSelf::STY_SubjectSelf | ( | const STY_Subject & | underlying_subject | ) |
|
overridevirtual |
Returns a source object that can provide data for the given data name. Eg, style subject representing a primitive can provide primitive attribute data.
Reimplemented from STY_Subject.
|
overridevirtual |
Returns the style sheet that should be applied to this subject and its children. This style sheet is applied after this subject is used to filter out non-matching styles. The children of this subject are the top level targets for these styles. Returns an empty string, if no style sheet is provided.
Reimplemented from STY_Subject.
|
overridevirtual |
Returns the style sheet that should be applied to this subject. This style sheet is applied before this subject is used to filter out non-matching styles. This subject is the top level target for these styles. Returns an empty string, if no style sheet is provided.
Reimplemented from STY_Subject.
|
overridevirtual |
Returns the information wheter the subject matches the given target.
Implements STY_Subject.