HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
STY_SubjectSelf Class Reference

#include <STY_SubjectSelf.h>

+ Inheritance diagram for STY_SubjectSelf:

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)
 
virtual STY_StyleSheetHandle getPreFilterStyleSheet () const
 
virtual STY_StyleSheetHandle getPostFilterStyleSheet () const
 
virtual STY_TargetMatchStatus matchesStyleTarget (const STY_TargetHandle &target) const
 Returns the information wheter the subject matches the given target. More...
 
virtual STY_BindingDataSourceHandle getOverrideBindingDataSource (const UT_StringHolder &data_name) const
 
- 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 ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

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...
 

Detailed Description

=========================================================================== 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.

Constructor & Destructor Documentation

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)

Member Function Documentation

virtual STY_BindingDataSourceHandle STY_SubjectSelf::getOverrideBindingDataSource ( const UT_StringHolder data_name) const
virtual

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.

virtual STY_StyleSheetHandle STY_SubjectSelf::getPostFilterStyleSheet ( ) const
virtual

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.

virtual STY_StyleSheetHandle STY_SubjectSelf::getPreFilterStyleSheet ( ) const
virtual

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.

virtual STY_TargetMatchStatus STY_SubjectSelf::matchesStyleTarget ( const STY_TargetHandle target) const
virtual

Returns the information wheter the subject matches the given target.

Implements STY_Subject.


The documentation for this class was generated from the following file: