SVG for C++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SVG::ClassSpec< T > Struct Template Reference

#include <svg.hpp>

Public Member Functions

 ClassSpec (T _key, std::string _css_class)
 

Public Attributes

key
 
std::string css_class
 

Detailed Description

template<typename T>
struct SVG::ClassSpec< T >

Mapping entry for a typed CSS class token.

Constructor & Destructor Documentation

◆ ClassSpec()

template<typename T >
SVG::ClassSpec< T >::ClassSpec ( _key,
std::string  _css_class 
)
inline

Register a typed key and CSS class token.

Member Data Documentation

◆ css_class

template<typename T >
std::string SVG::ClassSpec< T >::css_class

CSS class token, normalized by Classes to omit any leading ".".

◆ key

template<typename T >
T SVG::ClassSpec< T >::key

Typed class key.


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