HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
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.
21
class
STY_API
STY_SubjectSelf
:
public
STY_Subject
22
{
23
public
:
24
STY_SubjectSelf
();
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
STY_StyleSheetHandle
30
getPreFilterStyleSheet
()
const override
;
31
32
STY_StyleSheetHandle
33
getPostFilterStyleSheet
()
const override
;
34
35
STY_TargetMatchStatus
36
matchesStyleTarget
(
37
const
STY_TargetHandle
&
target
)
const override
;
38
39
STY_BindingDataSourceHandle
40
getOverrideBindingDataSource
(
41
const
UT_StringHolder
&data_name)
const override
;
42
43
private
:
44
const
STY_Subject
*mySelfSubject;
45
STY_StyleSheetHandle
myPreFilterStyleSheet;
46
STY_StyleSheetHandle
myPostFilterStyleSheet;
47
};
48
49
#endif
50
STY_API.h
STY_Subject::matchesStyleTarget
virtual STY_TargetMatchStatus matchesStyleTarget(const STY_TargetHandle &target) const =0
Returns the information wheter the subject matches the given target.
STY_Subject
Definition:
STY_Subject.h:30
STY_TargetMatchStatus
Contains information about the style subject match to the style target.
Definition:
STY_TargetMatchStatus.h:19
STY_API
#define STY_API
Definition:
STY_API.h:10
STY_Subject::getPreFilterStyleSheet
virtual STY_StyleSheetHandle getPreFilterStyleSheet() const
STY_SubjectSelf
Definition:
STY_SubjectSelf.h:21
UT_StringHolder
Definition:
UT_StringHolder.h:999
STY_Subject::getOverrideBindingDataSource
virtual STY_BindingDataSourceHandle getOverrideBindingDataSource(const UT_StringHolder &data_name) const
STY_Subject.h
UT_IntrusivePtr< const STY_StyleSheet >
target
GLenum target
Definition:
glcorearb.h:1667
STY_Subject::getPostFilterStyleSheet
virtual STY_StyleSheetHandle getPostFilterStyleSheet() const
UT_StringHolder.h
STY
STY_SubjectSelf.h
Generated on Fri Nov 8 2024 03:41:39 for HDK by
1.8.6