Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::xml::DeferredCssSyntaxPrinter< NameT > Struct Template Reference

Helper class which prints this qualified name in CSS syntax (e.g. More...

#include "donner/base/xml/XMLQualifiedName.h"

Public Attributes

const NameTname
 The qualified name to print.
 

Friends

std::ostream & operator<< (std::ostream &os, const DeferredCssSyntaxPrinter &printer)
 Ostream output operator, which prints the element's and all children.
 

Detailed Description

template<typename NameT>
struct donner::xml::DeferredCssSyntaxPrinter< NameT >

Helper class which prints this qualified name in CSS syntax (e.g.

"ns|name").

Example usage:

std::cout << element.printAsCssSyntax() << "\n";
Represents an XML attribute name with an optional namespace.
Definition XMLQualifiedName.h:48

Where XMLQualifiedName::printAsCssSyntax returns a DeferredPrinter as its result.


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