Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::css::WqName Struct Reference

A CSS qualified name, which is a name optionally associated with a namespace. More...

#include "donner/css/WqName.h"

Collaboration diagram for donner::css::WqName:
[legend]

Public Member Functions

 WqName (XMLQualifiedName &&name)
 Create a WqName with the given namespace and name.
 

Public Attributes

XMLQualifiedName name
 Name with optional namespace.
 

Friends

std::ostream & operator<< (std::ostream &os, const WqName &obj)
 Ostream output operator.
 

Detailed Description

A CSS qualified name, which is a name optionally associated with a namespace.

See https://www.w3.org/TR/selectors-4/#type-nmsp for the full definition.

For example, the following are all valid qualified names:

  • foo, represents the name foo which belongs to the default namespace.
  • |foo, represents the name foo which belongs to no namespace.
  • ns|foo, represents the name foo which belongs to the namespace ns.
  • *|foo, represents the name foo which belongs to any namespace.

Constructor & Destructor Documentation

◆ WqName()

donner::css::WqName::WqName ( XMLQualifiedName && name)
inline

Create a WqName with the given namespace and name.

Parameters
nameThe name with optional namespace

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