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

#include <svgelement.h>

Public Member Functions

 Attribute ()=default
 
 Attribute (int specificity, PropertyID id, std::string value)
 
int specificity () const
 
PropertyID id () const
 
const std::string & value () const
 

Detailed Description

Definition at line 747 of file svgelement.h.

Constructor & Destructor Documentation

◆ Attribute() [1/2]

novasvg::Attribute::Attribute ( )
default

◆ Attribute() [2/2]

novasvg::Attribute::Attribute ( int  specificity,
PropertyID  id,
std::string  value 
)
inline

Definition at line 750 of file svgelement.h.

Member Function Documentation

◆ id()

PropertyID novasvg::Attribute::id ( ) const
inline

Definition at line 755 of file svgelement.h.

Referenced by novasvg::SVGElement::setAttribute().

◆ specificity()

int novasvg::Attribute::specificity ( ) const
inline

Definition at line 754 of file svgelement.h.

Referenced by novasvg::SVGElement::setAttribute().

◆ value()

const std::string & novasvg::Attribute::value ( ) const
inline

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