Helper class for BackendSVG to format attributes as 'name="val" '.
More...
#include <BackendSVG.hpp>
|
| template<typename T > |
| std::string | operator() (const std::string &name, const T val) |
| | Format as 'name="val" ' (inc quotes and space), and return a string. More...
|
| |
Helper class for BackendSVG to format attributes as 'name="val" '.
◆ operator()()
template<typename T >
| std::string trase::AttributeFormatter::operator() |
( |
const std::string & |
name, |
|
|
const T |
val |
|
) |
| |
|
inline |
Format as 'name="val" ' (inc quotes and space), and return a string.
- Template Parameters
-
- Parameters
-
| name | name of attribute |
| val | value of attribute |
- Returns
- string of 'name="val" '
The documentation for this class was generated from the following file: