HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
STY_SubjectSelf.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: STY_SubjectSelf.h ( STY Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __STY_SubjectSelf__
12 #define __STY_SubjectSelf__
13 
14 #include "STY_API.h"
15 #include "STY_Subject.h"
16 #include <UT/UT_StringHolder.h>
17 
18 /// ===========================================================================
19 /// Subject that matches self targets and leaves all other targets intact
20 /// for its children to match.
22 {
23 public:
25  STY_SubjectSelf(const char *pre_filter_style_sheet,
26  const char *post_filter_style_sheet);
27  STY_SubjectSelf(const STY_Subject &underlying_subject);
28 
29  virtual STY_StyleSheetHandle
30  getPreFilterStyleSheet() const;
31 
32  virtual STY_StyleSheetHandle
34 
35  virtual STY_TargetMatchStatus
37 
40  const UT_StringHolder &data_name) const;
41 
42 private:
43  const STY_Subject *mySelfSubject;
44  STY_StyleSheetHandle myPreFilterStyleSheet;
45  STY_StyleSheetHandle myPostFilterStyleSheet;
46 };
47 
48 #endif
49 
virtual STY_TargetMatchStatus matchesStyleTarget(const STY_TargetHandle &target) const =0
Returns the information wheter the subject matches the given target.
Contains information about the style subject match to the style target.
#define STY_API
Definition: STY_API.h:10
virtual STY_StyleSheetHandle getPreFilterStyleSheet() const
virtual STY_BindingDataSourceHandle getOverrideBindingDataSource(const UT_StringHolder &data_name) const
GLenum target
Definition: glcorearb.h:1666
virtual STY_StyleSheetHandle getPostFilterStyleSheet() const