.. index:: pair: class; EE::UI::CSS::StyleSheetSelectorRule .. _doxid-class_e_e_1_1_u_i_1_1_c_s_s_1_1_style_sheet_selector_rule: class EE::UI::CSS::StyleSheetSelectorRule ========================================= .. toctree:: :hidden: enum_EE_UI_CSS_StyleSheetSelectorRule_PatternMatch.rst enum_EE_UI_CSS_StyleSheetSelectorRule_SelectorType.rst enum_EE_UI_CSS_StyleSheetSelectorRule_SpecificityVal.rst enum_EE_UI_CSS_StyleSheetSelectorRule_TypeIdentifier.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class StyleSheetSelectorRule { public: // enums enum :ref:`PatternMatch`; enum :ref:`SelectorType`; enum :ref:`SpecificityVal`; enum :ref:`TypeIdentifier`; // construction :target:`StyleSheetSelectorRule`(const std::string& selectorFragment, :ref:`PatternMatch` mPatternMatch); // methods void :target:`pushSelectorTypeIdentifier`(:ref:`TypeIdentifier` selectorTypeIdentifier, std::string name); void :target:`parseFragment`(const std::string& selectorFragment); const :ref:`PatternMatch`& :target:`getPatternMatch`() const; const int& :target:`getSpecificity`() const; bool :target:`matches`(:ref:`UIWidget`* element, const bool& applyPseudo = true) const; bool :target:`hasClass`(const std::string& cls) const; bool :target:`hasPseudoClasses`() const; bool :target:`hasPseudoClass`(const std::string& cls) const; const std::vector& :target:`getPseudoClasses`() const; bool :target:`hasStructuralPseudoClasses`() const; const std::vector& :target:`getStructuralPseudoClasses`() const; bool :target:`hasStructuralPseudoClass`(const std::string& cls) const; const std::string& :target:`getTagName`() const; const std::string& :target:`getId`() const; };