CL_CSSRuleSet Class Reference
[clanCore CSS]

Cascading Style Sheet (CSS) rule set. More...

#include <css_ruleset.h>

List of all members.

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.


Detailed Description

Cascading Style Sheet (CSS) 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!


Constructor & Destructor Documentation

CL_CSSRuleSet::CL_CSSRuleSet  ) 
 

Constructs a CSS rule set.

CL_CSSRuleSet::~CL_CSSRuleSet  ) 
 


Member Function Documentation

void CL_CSSRuleSet::add_property const CL_CSSProperty property  ) 
 

Adds a CSS property to the rule set.

void CL_CSSRuleSet::add_selector const CL_CSSSelector selector  ) 
 

Adds a CSS selector to the rule set.

std::vector<CL_CSSProperty>& CL_CSSRuleSet::get_properties  ) 
 

Returns all CSS properties for this rule set.

std::vector<CL_CSSSelector>& CL_CSSRuleSet::get_selectors  ) 
 

Returns all CSS selectors defined for this rule set.

bool CL_CSSRuleSet::operator== const CL_CSSRuleSet other  )  const
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:35 2009 for ClanLib by  doxygen 1.4.6