11 #ifndef __STY_Styler__
12 #define __STY_Styler__
57 {
return myData && (myData->myMatches.entries() > 0 ||
58 myData->myStyleSheets.entries() > 0); }
66 {
return myData && (myData->myMatches.entries() > 0); }
76 for (
auto &&match : myData->myMatches)
77 if (!match->isFullMatch())
127 bool remove_full_matches)
const;
148 bool getMaterialDefinition(
150 const char *material_name)
const;
157 bool verbose =
false,
158 bool path =
false)
const;
171 return myData !=
nullptr;
184 class STY_StylerData :
210 int subject_index = -1);
233 void pruneWithSubject(
236 int subject_index = -1);
243 bool remove_full_matches);
249 STY_StylerDataHandle myData;
254 friend class sty_PruneWithSubjectTask;
268 static const bool clearNeedsDestruction =
false;
static SYS_FORCE_INLINE void clearConstruct(STY_Styler *p)
Provides values for the properties of materials defined in a style sheet.
GLsizei const GLchar *const * path
Contains information about the style subject match to the style target.
Represents a style sheet entry that contains a target and overrides.
A reference counter base class for use with UT_IntrusivePtr.
static SYS_FORCE_INLINE void clear(STY_Styler &v)
static SYS_FORCE_INLINE bool isClear(STY_Styler &v)
bool hasAnyPartialMatchStyles() const
UT_IntrusivePtr< const STY_Target > STY_TargetHandle
SYS_FORCE_INLINE void clear()
SYS_FORCE_INLINE bool isClear()
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter