NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::RuleData Class Reference

#include <svgparser.hpp>

Public Member Functions

 RuleData (const Selector &selector, const DeclarationList &declarations, size_t specificity, size_t position)
 
bool isLessThan (const RuleData &rule) const
 
const Selector & selector () const
 
const DeclarationList & declarations () const
 
size_t specificity () const
 
size_t position () const
 
bool match (const SVGElement *element) const
 

Detailed Description

Definition at line 82 of file svgparser.hpp.

Constructor & Destructor Documentation

◆ RuleData()

novasvg::RuleData::RuleData ( const Selector &  selector,
const DeclarationList &  declarations,
size_t  specificity,
size_t  position 
)
inline

Definition at line 84 of file svgparser.hpp.

Member Function Documentation

◆ declarations()

const DeclarationList & novasvg::RuleData::declarations ( ) const
inline

Definition at line 91 of file svgparser.hpp.

◆ isLessThan()

bool novasvg::RuleData::isLessThan ( const RuleData &  rule) const
inline

Definition at line 88 of file svgparser.hpp.

Referenced by novasvg::operator<().

◆ match()

NOVASVG_INLINE bool novasvg::RuleData::match ( const SVGElement *  element) const

Definition at line 304 of file svgparser.hpp.

◆ position()

size_t novasvg::RuleData::position ( ) const
inline

Definition at line 93 of file svgparser.hpp.

◆ selector()

const Selector & novasvg::RuleData::selector ( ) const
inline

Definition at line 90 of file svgparser.hpp.

◆ specificity()

size_t novasvg::RuleData::specificity ( ) const
inline

Definition at line 92 of file svgparser.hpp.


The documentation for this class was generated from the following file: