

Public Member Functions | |
| element (const word &key, const std::initializer_list< entryType > &styles={}, const std::initializer_list< entryType > &elems={}) | |
| template<class Type > | |
| void | addAttr (const char *key, const Type &value) |
| void | addAttrStr (const char *key, const string &str) |
Public Attributes | |
| const word | key_ |
| DynamicList< entryType > | styles_ |
| DynamicList< entryType > | elems_ |
| const word | end = "</" + key_ + ">" |
Friends | |
| Ostream & | operator<< (Ostream &os, const element &ele) |
Definition at line 57 of file SVGTools.H.
|
inline |
Definition at line 64 of file SVGTools.H.
|
inline |
Definition at line 76 of file SVGTools.H.
References element::elems_, Foam::glTF::key(), DynamicList< T, SizeMin >::push_back(), and OStringStream::str().
Referenced by graphFunctionObject::write().


|
inline |
Definition at line 83 of file SVGTools.H.
References element::elems_, Foam::glTF::key(), and DynamicList< T, SizeMin >::push_back().

Definition at line 88 of file SVGTools.H.
| const word key_ |
Definition at line 59 of file SVGTools.H.
Referenced by Foam::SVG::operator<<().
| DynamicList<entryType> styles_ |
Definition at line 60 of file SVGTools.H.
Referenced by Foam::SVG::operator<<().
| DynamicList<entryType> elems_ |
Definition at line 61 of file SVGTools.H.
Referenced by element::addAttr(), element::addAttrStr(), and Foam::SVG::operator<<().
Definition at line 108 of file SVGTools.H.
Referenced by Foam::SVG::operator<<().