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

#include <svgelement.h>

Inheritance diagram for novasvg::SVGString:
Collaboration diagram for novasvg::SVGString:

Public Member Functions

 SVGString (PropertyID id)
 
const std::string & value () const
 
bool parse (std::string_view input) final
 
- Public Member Functions inherited from novasvg::SVGProperty
 SVGProperty (PropertyID id)
 
virtual ~SVGProperty ()=default
 
PropertyID id () const
 

Detailed Description

Definition at line 162 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGString()

novasvg::SVGString::SVGString ( PropertyID  id)
inlineexplicit

Definition at line 164 of file svgelement.h.

Member Function Documentation

◆ parse()

NOVASVG_INLINE bool novasvg::SVGString::parse ( std::string_view  input)
finalvirtual

Implements novasvg::SVGProperty.

Definition at line 2450 of file svgelement.h.

References novasvg::stripLeadingAndTrailingSpaces().

◆ value()

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

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