|
ZenitUI
Retained-mode C++20 UI framework
|
Pre-parsed, type-safe attribute bag passed to factories registered via Registry::tag(). More...
#include <ZMarkupDocs.hpp>
Static Public Member Functions | |
| static Attrs | fromElement (const TagDoc &doc, const Element &el) |
Build an Attrs bag by parsing el according to doc (defaults come solely from doc). | |
Pre-parsed, type-safe attribute bag passed to factories registered via Registry::tag().
Reading an undeclared attribute or requesting the wrong type throws std::logic_error, preventing factories from silently drifting out of sync with their TagDoc.