#include <css_ruleset.h>
Public Member Functions | |
Construction | |
| CL_CSSRuleSet () | |
| Constructs a CSS rule set. | |
| ~CL_CSSRuleSet () | |
Attributes | |
| std::vector< CL_CSSSelector > & | get_selectors () |
| Returns all CSS selectors defined for this rule set. | |
| std::vector< CL_CSSProperty > & | get_properties () |
| Returns all CSS properties for this rule set. | |
Operations | |
| bool | operator== (const CL_CSSRuleSet &other) const |
| void | add_selector (const CL_CSSSelector &selector) |
| Adds a CSS selector to the rule set. | |
| void | add_property (const CL_CSSProperty &property) |
| Adds a CSS property to the rule set. | |
A CSS rule set is a container for CSS properties and CSS selectors applying to a rule set. !group=Core/CSS! !header=core.h!
|
|
Constructs a CSS rule set.
|
|
|
|
|
|
Adds a CSS property to the rule set.
|
|
|
Adds a CSS selector to the rule set.
|
|
|
Returns all CSS properties for this rule set.
|
|
|
Returns all CSS selectors defined for this rule set.
|
|
|
|
1.4.6